Displaying 1 result from an estimated 1 matches for "city_of_birth".
2008 May 15
0
partial_updates feature in rails 2.1, failing to save because of validate_presence _of on other attributes in the table
...39;)
=> #<User id: 1, screen_name: "vince888", password: "vince888", email:
"vince-wop0JeY5JKhWk0Htik3J/w@public.gmane.org", created_at: "2008-05-15 12:35:12", updated_at:
"2008-05-15 13:03:38", authorization_token: nil>
>> @user.spec.city_of_birth
=> "Wichita"
>> @user.spec.city_of_birth = ''Charleston''
=> "Charleston"
>> @user.spec.changes
=> {"city_of_birth"=>["Wichita", "Charleston"]}
>> @user.spec.save
=> false...