Add this line to your application's Gemfile:
gem 'eagling', :git => 'https://github.com/sajjadmurtaza49/eagling'
or
gem 'eagling'
And then execute:
$ bundle
Or install it yourself as:
$ gem install eagling
- Where you want extra attribues in you migration, just add
- t.eagling(column_name1: :data_type, column_name2: :data_type ....)
- For Example
t.eagling(last_view_at: :datetime)
t.eagling(last_view_at: :datetime, deleted_at: :datetime)