# RedmineCrm Gem include next functional for Redmine plugins: rcrm_acts_as_taggable ## Installation Add this line to your application's Gemfile: ```ruby gem "redmine_crm" ``` And then execute: $ bundle Or install it yourself as: $ gem install redmine_crm Create migration with next code: ```ruby require 'redmine_crm/rcrm_acts_as_taggable' def self.up ActiveRecord::Base.create_taggable_table end def self.down ActiveRecord::Base.drop_taggable_table end end ``` Run migration for plugin: ``` rake redmine:plugins:migrate ``` ## Usage Add to model ```ruby rcrm_acts_as_taggable rcrm_acts_as_votable ``` For use css and js from gem you may use code like this: <% content_for :header_tags do %> <%= javascript_include_tag "redmine_crm" %> <%= stylesheet_link_tag "redmine_crm" %> <% end %> ## Run test ``` rake test ``` For test for mysql set enviroment variable DB to value 'mysql' and run test.