diff options
Diffstat (limited to 'activerecord/test/fixtures/company.rb')
-rwxr-xr-x | activerecord/test/fixtures/company.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/company.rb b/activerecord/test/fixtures/company.rb index 7d9a6053d4..579590e909 100755 --- a/activerecord/test/fixtures/company.rb +++ b/activerecord/test/fixtures/company.rb @@ -1,5 +1,7 @@ class Company < ActiveRecord::Base attr_protected :rating + + validates_presence_of :name end |