Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- validates :password, length: { minimum: 8 }, allow_nil: true, on: :create, unless: (:uid.present? && :provider.present?)
- NoMethodError (undefined method `validate' for true:TrueClass)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement