Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #18771 from kirs/deprecate-xhr | Rafael Mendonça França | 2015-02-05 | 1 | -0/+13 |
|\ | | | | | Migrating xhr methods to keyword arguments syntax | ||||
| * | Migrating xhr methods to keyword arguments syntax | Kir Shatrov | 2015-02-01 | 1 | -0/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | in `ActionController::TestCase` and `ActionDispatch::Integration` Old syntax: `xhr :get, :create, params: { id: 1 }` New syntax example: `get :create, params: { id: 1 }, xhr: true` | ||||
* | | unify CHANGELOG format. [ci skip] | Yves Senn | 2015-01-31 | 1 | -4/+5 |
|/ | |||||
* | Improve CHANGELOG | Rafael Mendonça França | 2015-01-29 | 1 | -6/+5 |
| | |||||
* | Switch to kwargs in ActionController::TestCase and ActionDispatch::Integration | Kir Shatrov | 2015-01-29 | 1 | -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 URLs | Tekin Suleyman | 2015-01-28 | 1 | -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 entry | Rafael Mendonça França | 2015-01-28 | 1 | -0/+6 |
| | |||||
* | Add ActionController::Base.render | brainopia | 2015-01-22 | 1 | -0/+3 |
| | |||||
* | Add ActionController::Renderer | brainopia | 2015-01-22 | 1 | -0/+5 |
| | | | | Render arbitrary templates outside of controller actions | ||||
* | Support `:assigns` option when rendering with controllers/mailers. | brainopia | 2015-01-22 | 1 | -0/+4 |
| | |||||
* | formatting pass over CHANGELOGs. [ci skip] | Yves Senn | 2015-01-10 | 1 | -1/+1 |
| | |||||
* | Merge pull request #18423 from jone/remove-default-header | Yves Senn | 2015-01-09 | 1 | -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 Baumann | 2015-01-09 | 1 | -0/+5 |
|/ | | | | test response. | ||||
* | Deprecate all *_filter callbacks in favor of *_action callbacks | Abdelkader Boudih | 2015-01-08 | 1 | -1/+5 |
| | |||||
* | Fix the example (for realz) | David Heinemeier Hansson | 2015-01-08 | 1 | -1/+1 |
| | |||||
* | Fix the example | David Heinemeier Hansson | 2015-01-08 | 1 | -1/+1 |
| | |||||
* | Add prepend option to protect_from_forgery. | Josef Šimánek | 2015-01-08 | 1 | -0/+23 |
| | |||||
* | Remove ActionController::HideActions (closes #18336) | brainopia | 2015-01-06 | 1 | -0/+4 |
| | |||||
* | Remove respond_to/respond_with placeholder methods | Carlos Antonio da Silva | 2015-01-04 | 1 | -0/+5 |
| | | | | This functionality has been extracted to the responders gem. | ||||
* | Remove deprecated assertion files | Rafael Mendonça França | 2015-01-04 | 1 | -0/+4 |
| | |||||
* | Remove deprecated usage of string keys in URL helpers | Rafael Mendonça França | 2015-01-04 | 1 | -0/+4 |
| | |||||
* | Remove deprecated `only_path` option on `*_path` helpers | Rafael Mendonça França | 2015-01-04 | 1 | -0/+4 |
| | |||||
* | Remove deprecated `NamedRouteCollection#helpers` | Rafael Mendonça França | 2015-01-04 | 1 | -0/+4 |
| | |||||
* | Remove deprecated support to define routes with `:to` option that | Rafael Mendonça França | 2015-01-04 | 1 | -0/+4 |
| | | | | doesn't contain `#` | ||||
* | Remove deprecated `ActionDispatch::Response#to_ary` | Rafael Mendonça França | 2015-01-04 | 1 | -0/+4 |
| | |||||
* | Remove deprecated `ActionDispatch::Request#deep_munge` | Rafael Mendonça França | 2015-01-04 | 1 | -0/+4 |
| | |||||
* | Remove deprecated `ActionDispatch::Http::Parameters#symbolized_path_parameters` | Rafael Mendonça França | 2015-01-04 | 1 | -0/+4 |
| | |||||
* | Remove deprecated option `use_route` in controller tests | Rafael Mendonça França | 2015-01-04 | 1 | -0/+4 |
| | |||||
* | Merge pull request #17978 from kommen/fixed-pr-14903 | Rafael Mendonça França | 2015-01-02 | 1 | -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 Komendera | 2014-12-10 | 1 | -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 head | Robin Dupret | 2014-12-31 | 1 | -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 request | Prathamesh Sonpatki | 2014-12-30 | 1 | -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-model | Rafael Mendonça França | 2014-12-30 | 1 | -0/+4 |
| | | | | | | | | Fix form_for to work with objects that implement to_model | ||||
* | | cleanup CHANGELOGs. [ci skip] | Yves Senn | 2014-12-23 | 1 | -2/+2 |
| | | |||||
* | | Don't convert empty arrays to nils when deep munging params | Chris Sinjakli | 2014-12-15 | 1 | -0/+11 |
| | | |||||
* | | allow URL helpers to work with optional scopes | Alex Robbin | 2014-12-13 | 1 | -0/+4 |
| | | |||||
* | | Fix handling of positional url helper arguments when format is false | Tatiana Soukiassian | 2014-12-13 | 1 | -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ça | 2014-11-28 | 1 | -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_token | Matthew Draper | 2014-11-27 | 1 | -0/+7 |
|\ | | | | | | | Allow authentication header to not have to specify 'token=' key. | ||||
* | | Changelog format | Sean Griffin | 2014-11-24 | 1 | -2/+3 |
| | | |||||
* | | Deprecate string options in URL helpers | Melanie Gilman | 2014-11-24 | 1 | -0/+6 |
| | | | | | | | | | | | | Fixes https://github.com/rails/rails/issues/16958 [Byron Bischoff & Melanie Gilman] | ||||
* | | Deprecate the `only_path` option on `*_path` helpers. | Godfrey Chan | 2014-10-28 | 1 | -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 Senn | 2014-10-16 | 1 | -2/+2 |
| | | |||||
* | | Improve Journey compliance to RFC 3986 | Nicolas Cavigneaux | 2014-10-14 | 1 | -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 version | Rafael Mendonça França | 2014-09-25 | 1 | -7/+0 |
| | | | | [ci skip] | ||||
* | Remove internal options from query string of paths | Gert Goet | 2014-09-25 | 1 | -0/+7 |
| | | | | Fixes #17057 | ||||
* | Deprecate implicit AD::Response splatting and Array conversion | Jeremy Kemper | 2014-09-06 | 1 | -0/+13 |
| | |||||
* | Don't rescue IPAddr::InvalidAddressError | Peter Suschlik | 2014-08-29 | 1 | -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-route | Aaron Patterson | 2014-08-28 | 1 | -0/+7 |
|\ | | | | | Fix the router ignoring constraints when used together with a redirect route | ||||
| * | Don't ignore constraints in redirect routes | Agis- | 2014-08-25 | 1 | -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 |