This reverts commit f4ad0eb, reversing changes made to 8b2cbb3. Conflicts: actionpack/CHANGELOG.md REASON: This added introduced a bug when you have a shorthand route inside a nested namespace. See rafaelfranca@281367e
…now appends). Now `BestStandardsSupport` middleware appends it's `X-UA-Compatible` value to app's value. Also test for `BestStandardsSupport` middleware added.
This reverts commit a8560fa.
If a unknown format is passed in a request, the methods html?, xml?, json? ...etc Nil Exception. This patch add a class NullMimeTypeObject, that is returned when request.format is unknown and it responds false to the methods that ends with '?'. It refers to #7837, not fixes because it's not considered a improvement not a bug.
…ionality Extend date_select helper functionality. Conflicts: actionpack/CHANGELOG.md
Also remove references for RAILS_ASSET_ID from the guides [ci skip]
Removed the asset_path configuration from the guides and added an entry in the upgrading_ruby_on_rails guide [ci skip]
Accept either :remote or 'remote' in both the html_options and (url_)options hash arguments to link_to.
#3415 the documentation on #assert_template states that the :locals option is only available in view test cases: # In a view test case, you can also assert that specific locals are passed # to partials: I added a warning when it's passed in an inapropriate context to prevent a NoMethodError.
This was added in Rails 4 and we don't need changelog entries to behavior changes [ci skip]
It's best to just return text/plain when something has gone terribly wrong. Fixes #5660.
this is a patch for #7777.
…upports referencing foo.js as foo/index.js and vice versa.
Given Im rendering an template `/layout/hello.html.erb`, assert_template was passing with any string that matches. This behavior allowed false passing like: assert_template "layout" assert_template "out/hello" Now the passing possibilities are: assert_template "layout/hello" assert_template "hello" fixing assert_template bug when template matches expected, but not ends with Cherry Pick Merge: Fixes issue #3849 assert_template false positive taking redundant test off prevening incorrect assert_template when rendering with repeated names in path updating CHANGELOG with bugfix: assert_template false passing
This will set image's both width and height attributes to value passed in size option.
remove unused Mime::Type#verify_request?
…-close-to-tempfile Delegate ActionDispatch::Http::UploadedFile#close to tempfile