Class: Refinery::SettingsGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Refinery::SettingsGenerator
- Defined in:
- lib/generators/refinery/settings_generator.rb
Instance Method Summary collapse
Instance Method Details
#generate_settings_initializer ⇒ Object
5 6 7 |
# File 'lib/generators/refinery/settings_generator.rb', line 5 def generate_settings_initializer template "config/initializers/refinery/settings.rb.erb", File.join(destination_root, "config", "initializers", "refinery", "settings.rb") end |
#rake_db ⇒ Object
9 10 11 |
# File 'lib/generators/refinery/settings_generator.rb', line 9 def rake_db rake("refinery_settings:install:migrations") end |