diff options
Diffstat (limited to 'activerecord/test/fixtures/developer.rb')
-rw-r--r-- | activerecord/test/fixtures/developer.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/fixtures/developer.rb b/activerecord/test/fixtures/developer.rb index 17d0746cfa..1a4f0648bb 100644 --- a/activerecord/test/fixtures/developer.rb +++ b/activerecord/test/fixtures/developer.rb @@ -1,7 +1,7 @@ class Developer < ActiveRecord::Base has_and_belongs_to_many :projects has_and_belongs_to_many :special_projects, :join_table => 'developers_projects', :association_foreign_key => 'project_id' - + validates_inclusion_of :salary, :in => 50000..200000 validates_length_of :name, :within => 3..20 end |