diff options
Diffstat (limited to 'activerecord/test/models')
-rw-r--r-- | activerecord/test/models/loose_person.rb (renamed from activerecord/test/models/mass_assignment_specific.rb) | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/activerecord/test/models/mass_assignment_specific.rb b/activerecord/test/models/loose_person.rb index 13a80e0197..256c281d0d 100644 --- a/activerecord/test/models/mass_assignment_specific.rb +++ b/activerecord/test/models/loose_person.rb @@ -1,6 +1,7 @@ class LoosePerson < ActiveRecord::Base self.table_name = 'people' self.abstract_class = true + attr_protected :credit_rating, :administrator end @@ -20,13 +21,4 @@ end class TightDescendant < TightPerson attr_accessible :phone_number -end - -class Task < ActiveRecord::Base - attr_protected :starting -end - -class TopicWithProtectedContent < ActiveRecord::Base - self.table_name = 'topics' - attr_protected :content end
\ No newline at end of file |