Skip to content

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

Closed
darpified opened this Issue Nov 11, 2010 · 1 comment

2 participants

@darpified

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

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

@janx janx pushed a commit that referenced this issue Apr 19, 2011
@darpified darpified For #646 - modify the configuration text that is output for confirm_w…
…ithin so that it matches the actual default value. If you use nil as a value, it crashes trying to call nil.ago
32c6f7b
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.