2009-03-20 11:07:49 -04:00
|
|
|
class Developer < ActiveRecord::Base
|
|
|
|
validates_inclusion_of :salary, :in => 50000..200000
|
|
|
|
validates_length_of :name, :within => 3..20
|
2009-03-20 18:21:27 -04:00
|
|
|
|
|
|
|
attr_accessor :name_confirmation
|
2009-03-20 11:07:49 -04:00
|
|
|
end
|