Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misleading configuration option in config/initializers/devise.rb for config.confirm_within #646

Closed
darpified opened this issue Nov 11, 2010 · 1 comment
Labels

Comments

@darpified
Copy link
Contributor

Sample config text states that the default for confirm_within is nil, when it actually is 0.days. I set it to nil, and it crashes trying use ago on it.

It probably should go ahead and say that the default is 0.days instead of nil.

@carlosantoniodasilva
Copy link
Member

Please feel free to update it as you think it's needed, and send us a pull request, thanks.

janx pushed a commit that referenced this issue Apr 19, 2011
…ithin so that it matches the actual default value. If you use nil as a value, it crashes trying to call nil.ago
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants