Methods

Files

Merb::Authentication::Mixins::SaltedUser::SQ3Validations

Public Instance Methods

validate() click to toggle source
    # File lib/merb-auth-more/mixins/salted_user/sq_salted_user.rb, line 15
15:         def validate
16:           validates_presence(:password) if password_required?
17:           validates_presence(:password_confirmation) if password_required?
18:           errors.add(:password, "Passwords are not the same") if password != password_confirmation
19:         end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.