devise_suspendable
devise_suspendable copied to clipboard
compile error
devise_suspendable/model.rb:38: syntax error, unexpected '=', expecting ')' self.save(:validate = false) if self.changed?
I think you meant self.save(validate=false) or something like that...
I think you are right, I'll have a look into it and get back to you.
(What I really need is a test suite!)
You don't need the validatable stuff in the save, just allow nil in the length validation.
This works for me: http://gist.github.com/466214 (Only checked suspension, not unsuspension since I don't need that)