Permalink
Browse files

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
  • Loading branch information...
1 parent 67a49f3 commit 32c6f7b00b5b2eeca74767e048367c15c4309379 @darpified darpified committed with josevalim Nov 13, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/generators/templates/devise.rb
@@ -50,7 +50,7 @@
# ==> Configuration for :confirmable
# The time you want to give your user to confirm his account. During this time
- # he will be able to access your application without confirming. Default is nil.
+ # he will be able to access your application without confirming. Default is 0.days
# When confirm_within is zero, the user won't be able to sign in without confirming.
# You can use this to let your user access some features of your application
# without confirming the account, but blocking it after a certain period

0 comments on commit 32c6f7b

Please sign in to comment.