Flowdock
method

initialize_metal

Importance_0
v2.3.2 - Show latest stable - 0 notes - Class: Rails::Initializer
initialize_metal() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/initializer.rb, line 565
    def initialize_metal
      Rails::Rack::Metal.requested_metals = configuration.metals
      Rails::Rack::Metal.metal_paths += plugin_loader.engine_metal_paths

      configuration.middleware.insert_before(
        "ActionController::RewindableInput""ActionController::RewindableInput",
        Rails::Rack::Metal, :if => Rails::Rack::Metal.metals.any?)
    end
Register or log in to add new notes.