Add Mongoid to your new rails app
Used 20 times
A
Alejandro Alvarez
Usage
Run this command in your Rails app directory in the terminal:
rails app:template LOCATION="https://railsbytes.com/script/x9QsQ5"
Template Source
Review the code before running this template on your machine.
run "bundle add mongoid"
Bundler.with_unbundled_env { run "bundle install" }
rails_command "generate mongoid:config"