…artial Fix rendered format for render partial
Previously `rendered_format` was set only based on mime types passed in Accept header, which was wrong if first type from Accept was different than rendered partial. The fix is to simply move setting rendered_format to the place where template is available and grab format from the template. If it fails we can fallback to formats passed by Accept header.
Issue with schema dump
Fix build for branch 3-2-stable - return the same session hash object
apply form_for namespace option to date_select
Make sure to return the same hash object instead of returning a new one. Returning a new one causes failures on cookie store tests, where it tests for the 'Set-Cookie' header with the session signature. This is due to the hash ordering changes on Ruby 1.8.7-p358.
[3-2-stable] migrate(:down) method with table_name_prefix
Fix build for branch 3-2-stable - Part 2
Fix build for branch 3-2-stable
Also skip persistente tests related to UPDATE + ORDER BY for postgresql PostgreSQL does not support updates with order by, and these tests are failing randomly depending on the fixture loading order now.
Fix GH #5411. When precompiling, params method is undefined.
Port of #5522 'Fix adding/removing field's index when generating migration'
[3-2-stable] Remove blank line from generated migration
…he rack headers (and its causing problems for Strong Parameters attempt of wrapping request.parameters because it will change in testing)
Build fix 1.8.7 3 2 stable
Second security vulnerability found in mail file delivery method patched in version 2.4.4.
…2-stable Build fix app generator test 3 2 stable
[3-2-stable] Fix GH #5435. db:structure:dump should be re-enable.
Fix for #5440
This fixes situation where rendering template to string sets `rendered_format` to the format rendered there. This is ok to have consistent formats rendered in partials, but it breaks on next renders if format is explicitly set or on last render where default format does not necessarily need to be the format of first rendered template.