We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Replace missing end from previous edit.
Remove unreachable branch where account is approved but not persisted. This created the nonsensical case where the user would see two errors: 1. That her email was not found. 2. That she was not approved. Caught this via SimpleCov with 100% line and branch coverage enabled.
Set the error key canonically.
Calling `<<` to an ActiveModel::Errors message array in order to add an error is deprecated. Please call `ActiveModel::Errors#add` instead.
Revert previous change. It was not quite right.
The example given had an unreachable condition, where the recoverable is approved by not persisted. This was discovered via SimpleCov.
Fix syntax highlighting throughout; minor wording changes
One liner
Tiny typo - "visiti[m]g" instead of "visiti[n]g"
Updated How To: Require admin to activate account before sign_in (markdown)
I am a ruby novice but had lots of trouble with this guide. After many hours of troubleshooting I managed to figure it out. I have made some edits to make it clearer for others to follow.
@users should return a collection instead of a single object
Updated for rails 4, no longer recommending attr_accessible
Added guide for Email Notifications
Changing migration class name to match the migration generator command
Add translation for the message that appears after registration
Not trying to do table scans or have nulls where they're not needed
Created How To: Require admin to activate account before sign_in (markdown)