Class: Bently::RailsRecipe
- Inherits:
-
RubyRecipe
- Object
- Recipe
- RubyRecipe
- Bently::RailsRecipe
- Defined in:
- lib/bently/recipe_class/rails.rb
Direct Known Subclasses
ActionMailer, ActiveAdmin, ActsAsTaggableOn, BackboneRails, BetterErrors, Cancan, Carrierwave, CucumberRails, DelayedJobActiveRecord, DelayedJobMongoid, Devise, FactoryGirlRails, ForemanThin, Formtastic, Guard, GuardCoffeescript, GuardCucumber, GuardLivereload, GuardMinitest, GuardRails, GuardRspec, GuardSpork, HamlRails, HerokuCleardb, HerokuRails, HerokuSendgrid, JasmineRails, Kaminari, MinitestRails, Omniauth, OmniauthFacebook, Paperclip, ResqueRails, RspecRails, SimpleForm, Twitter, TwitterBootstrapRails
Constant Summary
Constants inherited from RubyRecipe
Instance Method Summary collapse
Methods inherited from RubyRecipe
Methods inherited from Recipe
#append, breakdown, category, #code, #create, description, homepage, #insert, #modify, #operate, #operations, #prepend, #remove, #requirement, #run, #say, title, #todo, #usage, version, #warn
Instance Method Details
#generate(command) ⇒ Object
5 6 7 |
# File 'lib/bently/recipe_class/rails.rb', line 5 def generate command run "bundle exec rails generate #{command}" end |
#migrate ⇒ Object
9 10 11 |
# File 'lib/bently/recipe_class/rails.rb', line 9 def migrate run 'bundle exec rake db:migrate' end |