- Append compatibility with Mongoid 3.0+
- Adhearsion 2.0+
Plugin has been tested with Adhearsion 2.4, Ruby 2.0 and Mongoid 4.0 (development).
adhearsion-mongoid to your Adhearsion app's Gemfile.
Plugin configuration (optional)
In your Adhearsion app configuration file, add the following values:
.config[:adhearsion_mongoid] do |config| config.models_paths = "lib/models" config.config_path = "config/mongoid.yml" end
By default, simply use "config/mongoid.yml" configuration file.
Simply place your models in in your model directory ("lib/models" by default) and thats all.
Note on Patches/Pull Requests
- Fork the project.
- Make your feature addition or bug fix.
- Add tests for it. This is important so I don't break it in a future version unintentionally.
- Commit, do not mess with rakefile, version, or history.
- If you want to have your own version, that is fine but bump version in a commit by itself so I can ignore when I pull
- Send me a pull request. Bonus points for topic branches.
Check License file