We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Adding parentesis to avoid false Warning: "Lint/AssignmentInCondition: Use == if you meant to do a comparison or wrap the expression in parentheses to indicate you meant to assign in a condition."
Add the `login` key to `sign_in` page
Remove link to old wiki page; Fix diff syntax highlighting
Small typo
No need to user attr_accessor or to create a duplicate an attr_writer
Updated How To: Allow users to sign in using their username or email address (markdown)
updated with ruby 1.9 Hash syntax
erased unnecessary double word
Second suggested username-email conflict validation still allows valid (unused) email addresses
Fixed a typo
Solve deprecation warning for devise 4.0
Fix typo
Update to Parameter Sanitizer API based on Rails 4
The old code had a vulnerability issue: if no login/username/email is passed in params, it will fetch the first user of database
Without `:multiline => true`, the validation brings up error: ArgumentError: The provided regular expression is using multiline anchors (^ or $), which may present a security risk. Did you mean to use \A and \z, or forgot to add the :multiline => true option?
authentication_keys is already in the yml files. This step is not necessary
to remain consistent with the rest of the tutorial
link to docs of methods such as find_for_database_authentication, improve formatting