…ey with nil or  value
…o be duplicated or grow forever if you call register_*_expansion more than once Fix a Regression introduced here 55b13c5
…ipts setup within the railtie Signed-off-by: José Valim <firstname.lastname@example.org>
Signed-off-by: José Valim <email@example.com>
…r path_to_image in rdoc
…to get a link for Mobile Safari with it
…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>
The example provided contrived. It is not useful when wanting to use 1-based asset hosts (since it would generate a random asset host for the same asset). Signed-off-by: Rizwan Reza <email@example.com>
[#4232 state:committed] Signed-off-by: Jeremy Kemper <firstname.lastname@example.org>
…troller::Base.perform_caching Signed-off-by: José Valim <email@example.com>
[#2837 state:committed] Signed-off-by: Jeremy Kemper <firstname.lastname@example.org>
…ctController configuration refactor.
…. Instead, all Strings are always not html_safe?. Instead, you can get a SafeBuffer from a String by calling #html_safe, which will SafeBuffer.new(self). * Additionally, instead of doing concat("</form>".html_safe), you can do safe_concat("</form>"), which will skip both the flag set, and the flag check. * For the first pass, I converted virtually all #html_safe!s to #html_safe, and the tests pass. A further optimization would be to try to use #safe_concat as much as possible, reducing the performance impact if we know up front that a String is safe.
This reverts commit 8a46e11.