RedmineCrm
Gem include next functional for Redmine plugins: rcrm_acts_as_taggable
Installation
Add this line to your application's Gemfile:
gem "redmine_crm", :git => "[email protected]:redminecrm/redmine_crm.git"
And then execute:
$ bundle
Or install it yourself as:
$ gem install redmine_crm
Create migration with next code:
require 'redmine_crm/rcrm_acts_as_taggable'
def self.up
# unless table_exists?(:viewings)
ActiveRecord::Base.create_taggable_table
# end
end
def self.down
ActiveRecord::Base.drop_taggable_table
end
end
Run migration for plugin:
rake redmine:plugins:migrate
Usage
Add to model
rcrm_acts_as_taggable
Run test
rake test
For test for mysql set enviroment variable DB to value 'mysql' and run test.