method

rails_command

Importance_1
v5.0.0.1 - Show latest stable - 0 notes - Class: Rails::Generators::Actions
rails_command(command, options={}) public

Runs the supplied rake task (invoked with ‘rails …’)

rails("db:migrate")
rails("db:migrate", env: "production")
rails("gems:install", sudo: true)
Show source
Register or log in to add new notes.