README.md in domp-0.0.1 vs README.md in domp-0.0.2
- old
+ new
@@ -47,11 +47,12 @@
Here's what the `User` model will look like:
```ruby
class User < ActiveRecord::Base
has_many :authentications, class_name: 'UserAuthentication'
- devise :omniauthable, :database_authenticatable, :registerable,
+ devise :omniauthable, :database_authenticatable, :registerable,
:recoverable, :rememberable, :trackable, :validatable
+end
```
### User::OmniauthCallbacksController
Here goes all the logic of creating multiple authentications. You are free to change everything, it's just a boilerplate that will make sense it most of the apps.