Module: EacRailsUtils::EngineHelper::ClassMethods
- Defined in:
- lib/eac_rails_utils/engine_helper.rb
Instance Method Summary collapse
Instance Method Details
#append_autoload_paths ⇒ Object
13 14 15 |
# File 'lib/eac_rails_utils/engine_helper.rb', line 13 def append_autoload_paths config.autoload_paths += Dir["#{config.root}/lib/**/"] end |
#append_self_migrations ⇒ Object
17 18 19 20 21 22 23 |
# File 'lib/eac_rails_utils/engine_helper.rb', line 17 def append_self_migrations initializer :append_migrations do |app| config.paths['db/migrate']..each do || app.config.paths['db/migrate'] << end end end |