Skip to content

Instantly share code, notes, and snippets.

@daniel-nelson
Created August 16, 2011 21:50
Show Gist options
  • Save daniel-nelson/1150274 to your computer and use it in GitHub Desktop.
Save daniel-nelson/1150274 to your computer and use it in GitHub Desktop.
acts_as_authentic do |c|
c.login_field = :email
c.validate_login_field = false
c.merge_validates_format_of_email_field_options
c.merge_validates_length_of_password_confirmation_field_options
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment