Is there any way to skip Devise password validation when creating multiple users in a rake task ?
Jump to content
The ultimate community for Ruby on Rails developers.
Posted 09 October 2013 - 06:24 PM
As per the docs (http://api.rubyonrai...l#method-i-save) the correct way to save without validations is
Note that it can still fail (and return false) due to before_action, before_filters and the like.
0 members, 1 guests, 0 anonymous users