[Rails] Re: How to change the value of User attribute

2012-01-18 Thread dmlicht
change you password validation to add :on = :create to your password validation. It makes it so the validations are only called for the specified controller action. example: validates :password, :presence = true, :on = :create Check out the rails guide for more info

[Rails] Re: Deleting cookie of the authorization page in rails application

2012-01-17 Thread dmlicht
Check out ActionDispatch::Cookies on http://api.rubyonrails.org/ I think you'll want to use cookies.delete On Jan 16, 1:36 am, serpent403 aman.webdra...@gmail.com wrote: In my rails application i am using oauth to get access to the user's profile data. The thing is when the authorization login