Skip to content
This repository was archived by the owner on Nov 30, 2018. It is now read-only.

Commit a10060e

Browse files
committed
Removed attr_accessible calls
1 parent df66b4d commit a10060e

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

spec/dummy/app/models/admin_user.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,4 @@ class AdminUser < ActiveRecord::Base
33
# :confirmable, :lockable, :timeoutable and :omniauthable
44
devise :database_authenticatable,
55
:recoverable, :rememberable, :trackable, :validatable
6-
7-
# Setup accessible (or protected) attributes for your model
8-
attr_accessible :email, :password, :password_confirmation, :remember_me
9-
# attr_accessible :title, :body
106
end

spec/dummy/app/models/article.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
class Article < ActiveRecord::Base
2-
attr_accessible :title, :body, :translations_attributes
3-
42
# Translated fields with globalize and for active admin
53
active_admin_translates :title, :body
64

0 commit comments

Comments
 (0)