Sha256: e479ed1946934b28f86b41071f5fd7af6a3ad597049e8fc436243fd6e96402ba

Contents?: true

Size: 849 Bytes

Versions: 9

Compression:

Stored size: 849 Bytes

Contents

# 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", :git => "git@bitbucket.org:redminecrm/redmine_crm.git"
```

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
    # 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

```ruby
  rcrm_acts_as_taggable
```

## Run test

```
  rake test
```

For test for mysql set enviroment variable DB to value 'mysql' and run test.

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
redmine_crm-0.0.13 README.md
redmine_crm-0.0.12 README.md
redmine_crm-0.0.11 README.md
redmine_crm-0.0.10 README.md
redmine_crm-0.0.8 README.md
redmine_crm-0.0.7 README.md
redmine_crm-0.0.6 README.md
redmine_crm-0.0.5 README.md
redmine_crm-0.0.4 README.md