config() Instance Public methods Define the configuration object for the engine.
eager_load!() Instance Public methods Eager load the application by loading all ruby files inside eager_load paths.
endpoint() Instance Public methods Returns the endpoint for this engine. If none is registered, defaults to an ActionDispatch::Routing::RouteSet.
env_config() Instance Public methods Defines additional Rack env configuration that is added on each call.
helpers() Instance Public methods Returns a module with all the helpers defined for the engine.
helpers_paths() Instance Public methods Returns all registered helpers paths.
load_console(app=self) Instance Public methods Load console and invoke the registered hooks. Check Rails::Railtie.console for more info.
load_generators(app=self) Instance Public methods Load Rails generators and invoke the registered hooks. Check Rails::Railtie.generators for more info.
load_runner(app=self) Instance Public methods Load Rails runner and invoke the registered hooks. Check Rails::Railtie.runner for more info.
load_seed() Instance Public methods Load data from db/seeds.rb file. It can be used in to load engines' seeds, e.g.: Blog::Engine.load_seed
Page 2278 of 11844