README.md in domp-0.0.4 vs README.md in domp-0.0.5
- old
+ new
@@ -47,11 +47,11 @@
### User model additions
Here's what the `User` model will look like:
```ruby
class User < ActiveRecord::Base
- has_many :authentications, class_name: 'UserAuthentication'
+ has_many :authentications, class_name: 'UserAuthentication', dependent: :destroy
devise :omniauthable, :database_authenticatable, :registerable, :recoverable, :rememberable, :trackable, :validatable
def self.create_from_omniauth(params)
attributes = {
@@ -84,9 +84,13 @@
```
gem "omniauth"
gem "omniauth-facebook"
gem "omniauth-twitter"
```
+
+## License
+This gem is released under the MIT License.
+
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)