…value [#4306 state:resolved] Signed-off-by: José Valim <email@example.com>
… passed to select tag. Be sure to join the tag yourself and mark them .html_safe
…owing signed cookies to work again.
…ode that should run during framework load do: ActiveSupport.on_load(:action_controller) do # Code run in the context of AC::Base end
…String [#4247 state:resolved]
Set config.action_controller.asset_path_template to a proc that takes one argument - the direct, unchanged asset path - and returns a path to that asset using the scheme that your assets require. This is useful if you have a setup which scales by introducing new application servers where the mtime of the asset files may not be the same as those of the asset files on your previous servers, but it does require your web servers to have knowledge of the asset template paths that you rewrite to so it's not suitable for out-of-the-box use. An example of configuring asset path generation and rewriting these paths using Apache is included in actionpack/lib/action_view/helpers/asset_tag_helper.rb. Signed-off-by: wycats <firstname.lastname@example.org>
… Sheep) Signed-off-by: Rizwan Reza <email@example.com>
…::Request expect it to return a String. Split the Rails API so that Request#content_type returns a String, and Request#content_mime_type returns a Mime::Type object.
…ion waits to freeze until the last required moment, to avoid duping hashes.
…state:resolved] (ht: Geoff Garside)
Provide a default in production.rb that can be modified, so that people who care about sendfile performance in production mode can get better performance easily.
…t, remove railtie_name and engine_name and allow to set the configuration object.
…d routes in the following scenarios: match "home/about" #=> maps to home#about with named route home_about_path match "about" #=> does not work because it cannot guess the controller match "about" => "home#about" #=> maps to home#about with named route home_about_path match "home/about", :as => "about" #=> maps to home#about with named route about_path