README.md in redmine_crm-0.0.21 vs README.md in redmine_crm-0.0.22
- old
+ new
@@ -32,9 +32,21 @@
def self.down
ActiveRecord::Base.drop_taggable_table
end
end
```
+For rcrm_acts_as_viewed You may add column for your model
+with help:
+
+```ruby
+
+YourModel.add_viewings_columns
+
+```
+It will add two column to your table (views and total_views)
+and view_count will return two number: total view and unique views.
+Without this migration you will get only unique views.
+
Run migration for plugin:
```
rake redmine:plugins:migrate
```
\ No newline at end of file