diff --git a/lib/devise/models/authenticatable.rb b/lib/devise/models/authenticatable.rb index 44cda2b5..62590de5 100644 --- a/lib/devise/models/authenticatable.rb +++ b/lib/devise/models/authenticatable.rb @@ -10,7 +10,7 @@ module Devise # # == Options # - # Authenticatable adds the following options to devise method in your model: + # Authenticatable adds the following options to +devise+: # # * +authentication_keys+: parameters used for authentication. By default [:email]. # diff --git a/lib/devise/models/database_authenticatable.rb b/lib/devise/models/database_authenticatable.rb index 4d3a2c63..8c0e2261 100644 --- a/lib/devise/models/database_authenticatable.rb +++ b/lib/devise/models/database_authenticatable.rb @@ -13,7 +13,7 @@ module Devise # # == Options # - # DatabaseAuthenticatable adds the following options to devise method in your model: + # DatabaseAuthenticatable adds the following options to +devise+: # # * +pepper+: a random string used to provide a more secure hash. Use # `rails secret` to generate new keys. @@ -42,7 +42,7 @@ module Devise def initialize(*args, &block) @skip_email_changed_notification = false @skip_password_change_notification = false - super + super end # Skips sending the email changed notification after_update diff --git a/lib/devise/models/omniauthable.rb b/lib/devise/models/omniauthable.rb index 4619b944..6f4c8976 100644 --- a/lib/devise/models/omniauthable.rb +++ b/lib/devise/models/omniauthable.rb @@ -8,7 +8,7 @@ module Devise # # == Options # - # Oauthable adds the following options to devise method in your model: + # Oauthable adds the following options to +devise+: # # * +omniauth_providers+: Which providers are available to this model. It expects an array: # diff --git a/lib/devise/models/recoverable.rb b/lib/devise/models/recoverable.rb index 0cca30f0..59f3a613 100644 --- a/lib/devise/models/recoverable.rb +++ b/lib/devise/models/recoverable.rb @@ -7,7 +7,7 @@ module Devise # # ==Options # - # Recoverable adds the following options to devise_for: + # Recoverable adds the following options to +devise+: # # * +reset_password_keys+: the keys you want to use when recovering the password for an account # * +reset_password_within+: the time period within which the password must be reset or the token expires. diff --git a/lib/devise/models/rememberable.rb b/lib/devise/models/rememberable.rb index 76ac0b81..a66979ad 100644 --- a/lib/devise/models/rememberable.rb +++ b/lib/devise/models/rememberable.rb @@ -15,7 +15,7 @@ module Devise # # == Options # - # Rememberable adds the following options in devise_for: + # Rememberable adds the following options to +devise+: # # * +remember_for+: the time you want the user will be remembered without # asking for credentials. After this time the user will be blocked and diff --git a/lib/devise/models/timeoutable.rb b/lib/devise/models/timeoutable.rb index 86870a2a..1d3ce2ae 100644 --- a/lib/devise/models/timeoutable.rb +++ b/lib/devise/models/timeoutable.rb @@ -11,7 +11,7 @@ module Devise # # == Options # - # Timeoutable adds the following options to devise method in your model: + # Timeoutable adds the following options to +devise+: # # * +timeout_in+: the interval to timeout the user session without activity. # diff --git a/lib/devise/models/validatable.rb b/lib/devise/models/validatable.rb index ed00c755..8f600a8c 100644 --- a/lib/devise/models/validatable.rb +++ b/lib/devise/models/validatable.rb @@ -9,7 +9,7 @@ module Devise # # == Options # - # Validatable adds the following options to devise method in your model: + # Validatable adds the following options to +devise+: # # * +email_regexp+: the regular expression used to validate e-mails; # * +password_length+: a range expressing password length. Defaults to 6..128.