On Tue, Jan 17, 2012 at 9:12 AM, Daisy Di wrote:
> Dear All
> i follow the instruction of Ruby on rails 3 tutorial, now i want to
> update the email of the User,
> user =User.find(1)
> user.update_attributes(:email=>"t...@gmail.com")
>
> but the save failed, error message is "password can not b
Dear All
i follow the instruction of Ruby on rails 3 tutorial, now i want to
update the email of the User,
user =User.find(1)
user.update_attributes(:email=>"t...@gmail.com")
but the save failed, error message is "password can not be blank",
so i try this one
user.update_attributes(:email=>"t...
2 matches
Mail list logo