README.md in ctws-0.1.10.alpha vs README.md in ctws-0.1.11.alpha
- old
+ new
@@ -54,12 +54,9 @@
By default the user model is `User` but you can change it by creating or editing the `ctws.rb` initializer file in `config/initializers` and put this content in it:
```ruby
Ctws.user_class = "Account"
-
-Ctws.device_class = "DeviceApp" # TODO: documentation
-Ctws.profile_class = "Profile" # TODO: documentation
```
The application `User` model **must have the `email` attribute**.
The **`password` is optional** by default a user is validated with password, for `password` validation [`ActiveModel::SecurePassword::InstanceMethodsOnActivation authenticate`](https://apidock.com/rails/v4.2.7/ActiveModel/SecurePassword/InstanceMethodsOnActivation/authenticate) and [`Devise::Models::DatabaseAuthenticatable#valid_password?`](http://www.rubydoc.info/github/plataformatec/devise/Devise%2FModels%2FDatabaseAuthenticatable:valid_password%3F) User instance methods are supported.