aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/CHANGELOG.md
Commit message (Collapse)AuthorAgeFilesLines
* unify CHANGELOG format. [ci skip]Yves Senn2015-01-311-4/+5
|
* Improve CHANGELOGRafael Mendonça França2015-01-291-6/+5
|
* Switch to kwargs in ActionController::TestCase and ActionDispatch::IntegrationKir Shatrov2015-01-291-0/+12
| | | | | | | | Non-kwargs requests are deprecated now. Guides are updated as well. `post url, nil, nil, { a: 'b' }` doesn't make sense. `post url, params: { y: x }, session: { a: 'b' }` would be an explicit way to do the same
* Preserve default url options when generating URLsTekin Suleyman2015-01-281-0/+8
| | | | | Fixes an issue that would cause default_url_options to be lost when generating URLs with fewer positional arguments than parameters in the route definition.
* Add CHANGELOG entryRafael Mendonça França2015-01-281-0/+6
|
* Add ActionController::Base.renderbrainopia2015-01-221-0/+3
|
* Add ActionController::Rendererbrainopia2015-01-221-0/+5
| | | | Render arbitrary templates outside of controller actions
* Support `:assigns` option when rendering with controllers/mailers.brainopia2015-01-221-0/+4
|
* formatting pass over CHANGELOGs. [ci skip]Yves Senn2015-01-101-1/+1
|
* Merge pull request #18423 from jone/remove-default-headerYves Senn2015-01-091-0/+5
|\ | | | | | | Default headers, removed in controller actions, will not be reapplied to the test response
| * Default headers, removed in controller actions, will not be reapplied to the ↵Jonas Baumann2015-01-091-0/+5
|/ | | | test response.
* Deprecate all *_filter callbacks in favor of *_action callbacksAbdelkader Boudih2015-01-081-1/+5
|
* Fix the example (for realz)David Heinemeier Hansson2015-01-081-1/+1
|
* Fix the exampleDavid Heinemeier Hansson2015-01-081-1/+1
|
* Add prepend option to protect_from_forgery.Josef Šimánek2015-01-081-0/+23
|
* Remove ActionController::HideActions (closes #18336)brainopia2015-01-061-0/+4
|
* Remove respond_to/respond_with placeholder methodsCarlos Antonio da Silva2015-01-041-0/+5
| | | | This functionality has been extracted to the responders gem.
* Remove deprecated assertion filesRafael Mendonça França2015-01-041-0/+4
|
* Remove deprecated usage of string keys in URL helpersRafael Mendonça França2015-01-041-0/+4
|
* Remove deprecated `only_path` option on `*_path` helpersRafael Mendonça França2015-01-041-0/+4
|
* Remove deprecated `NamedRouteCollection#helpers`Rafael Mendonça França2015-01-041-0/+4
|
* Remove deprecated support to define routes with `:to` option thatRafael Mendonça França2015-01-041-0/+4
| | | | doesn't contain `#`
* Remove deprecated `ActionDispatch::Response#to_ary`Rafael Mendonça França2015-01-041-0/+4
|
* Remove deprecated `ActionDispatch::Request#deep_munge`Rafael Mendonça França2015-01-041-0/+4
|
* Remove deprecated `ActionDispatch::Http::Parameters#symbolized_path_parameters`Rafael Mendonça França2015-01-041-0/+4
|
* Remove deprecated option `use_route` in controller testsRafael Mendonça França2015-01-041-0/+4
|
* Merge pull request #17978 from kommen/fixed-pr-14903Rafael Mendonça França2015-01-021-0/+11
|\ | | | | | | | | | | | | Ensure append_info_to_payload is called even if an exception is raised. Conflicts: actionpack/CHANGELOG.md
| * Ensure append_info_to_payload is called even if an exception is raised.Dieter Komendera2014-12-101-0/+11
| | | | | | | | | | | | | | | | See: * https://github.com/rails/rails/pull/14903 * https://github.com/roidrage/lograge/issues/37 Some code by mxrguspxrt from #14903.
* | Correctly use the response's status code calling headRobin Dupret2014-12-311-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 20fece1 introduced the `_status_code` method to fix calls to `head :ok`. This method has been added on both ActionController::Metal and ActionDispatch::Response. As for the latter, this method is just equivalent to the `response_code` one so commit aefec3c removed it from the `Reponse` object so call to the `_status_code` method on an ActionController::Base instance would be handled by the `Metal` class (which `Base` inherits from) but the status code is not updated according to the response at this level. The fix is to actually rely on `response_code` for ActionController::Base instances but this method doesn't exist for bare Metal controllers so we need to define it.
* | Remove single space response body for head requestPrathamesh Sonpatki2014-12-301-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - The single space response was added due to a bug in safari in https://github.com/rails/rails/commit/cb0f8fda9652c4d24d04693bdb82cecd3b067e5c and https://github.com/rails/rails/commit/807df4fcf021fc4d15972aa1c17ba7398d43ab0d. - This was removed from the `render nothing: true` in https://github.com/rails/rails/pull/14883. - Removing it from response of :head also. As :head is more obvious alternative to call `render nothing: true`(http://guides.rubyonrails.org/layouts_and_rendering.html#using-head-to-build-header-only-responses), removing it from head method also. - Closes #18253.
* | Merge pull request #18251 from tjgrathwell/fix-polymorphic-routes-to-modelRafael Mendonça França2014-12-301-0/+4
| | | | | | | | Fix form_for to work with objects that implement to_model
* | cleanup CHANGELOGs. [ci skip]Yves Senn2014-12-231-2/+2
| |
* | Don't convert empty arrays to nils when deep munging paramsChris Sinjakli2014-12-151-0/+11
| |
* | allow URL helpers to work with optional scopesAlex Robbin2014-12-131-0/+4
| |
* | Fix handling of positional url helper arguments when format is falseTatiana Soukiassian2014-12-131-0/+6
|/ | | | | | | There is no need to subtract one from the path_params size when there is no format parameter because it is not present in the path_params array. Fixes #17819.
* Start Rails 5 development :tada:Rafael Mendonça França2014-11-281-410/+1
| | | | | | | We will support only Ruby >= 2.1. But right now we don't accept pull requests with syntax changes to drop support to Ruby 1.9.
* Merge pull request #17186 from tgxworld/header_authentication_tokenMatthew Draper2014-11-271-0/+7
|\ | | | | | | Allow authentication header to not have to specify 'token=' key.
* | Changelog formatSean Griffin2014-11-241-2/+3
| |
* | Deprecate string options in URL helpersMelanie Gilman2014-11-241-0/+6
| | | | | | | | | | | | Fixes https://github.com/rails/rails/issues/16958 [Byron Bischoff & Melanie Gilman]
* | Deprecate the `only_path` option on `*_path` helpers.Godfrey Chan2014-10-281-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | In cases where this option is set to `true`, the option is redundant and can be safely removed; otherwise, the corresponding `*_url` helper should be used instead. Fixes #17294. See also #17363. [Dan Olson, Godfrey Chan]
* | some changelog formatting. [ci skip]Yves Senn2014-10-161-2/+2
| |
* | Improve Journey compliance to RFC 3986Nicolas Cavigneaux2014-10-141-0/+10
|/ | | | | | | | | | The scanner in Journey fails to recognize routes that use literals from the sub-delims section of RFC 3986. This commit enhance the compatibility of Journey with the RFC by adding support of authorized delimiters to the scanner. Fix #17212
* No need CHANGLOG entry for a bug in a non released versionRafael Mendonça França2014-09-251-7/+0
| | | | [ci skip]
* Remove internal options from query string of pathsGert Goet2014-09-251-0/+7
| | | | Fixes #17057
* Deprecate implicit AD::Response splatting and Array conversionJeremy Kemper2014-09-061-0/+13
|
* Don't rescue IPAddr::InvalidAddressErrorPeter Suschlik2014-08-291-0/+7
| | | | | | | | IPAddr::InvalidAddressError does not exist in Ruby 1.9.3 and fails for JRuby in 1.9 mode. As IPAddr::InvalidAddressError is a subclass of ArgumentError (via IPAddr::Error) just rescuing ArgumentError is fine.
* Merge pull request #16637 from Agis-/redirect-with-constraint-routeAaron Patterson2014-08-281-0/+7
|\ | | | | Fix the router ignoring constraints when used together with a redirect route
| * Don't ignore constraints in redirect routesAgis-2014-08-251-0/+7
| | | | | | | | | | | | | | | | https://github.com/rails/rails/commit/402c2af55053c2f29319091ad21fd6fa6b90ee89 introduced a regression that caused any constraints added to redirect routes to be ignored. Fixes #16605
* | minor changelog formatting changes.Yves Senn2014-08-271-4/+5
|/
* Refactor ActionDispatch::RemoteIpSam Aarons2014-08-211-0/+8
| | | | | | | | | | | | | Refactored IP address checking in ActionDispatch::RemoteIp to rely on the IPAddr class instead of the unwieldly regular expression to match IP addresses. This commit keeps the same api but allows users to pass IPAddr objects to config.action_dispatch.trusted_proxies in addition to passing strings and regular expressions. Example: # config/environments/production.rb config.action_dispatch.trusted_proxies = IPAddr.new('4.8.15.0/16')