Class: Openbox::Commands::Seed
- Inherits:
-
Openbox::Command
- Object
- Thor::Group
- Openbox::Command
- Openbox::Commands::Seed
- Defined in:
- lib/openbox/commands/seed.rb
Overview
The Seed Command
Instance Method Summary collapse
-
#execute ⇒ Object
Run rails seed.
Methods inherited from Openbox::Command
Instance Method Details
#execute ⇒ Object
Run rails seed
13 14 15 16 |
# File 'lib/openbox/commands/seed.rb', line 13 def execute Openbox.database.ensure_connection! system('bundle exec rails db:seed') end |