README.md in devise_inactivatable-1.0.2 vs README.md in devise_inactivatable-1.0.3
- old
+ new
@@ -48,15 +48,20 @@
class User < ActiveRecord::Base
devise :database_authentication, :inactivatable
end
-Adding four wonderful new methods, and modifications to two other methods:
+Adding four wonderful new methods:
- activate! : active the account if it is inactive
- inactivate! : inactive the account if it is active
- active? : checks whether the account is active
- inactive? : checks whether the account is inactive
+
+And modifications to two other methods:
+
+- active_for_authentication? : If inactive returns false, else it preforms the super method
+- inactive_message : If inactive returns :inactivated, else it performs the super method
## License
The devise_inactivatable is hosted on Github: https://github.com/jonathanccalixto/devise_inactivable, where your contributions, forkings, comments and feedback are greatly welcomed.