Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove duplicate letter 'a'. [ci skip] | Uģis Ozols | 2013-06-19 | 1 | -1/+1 |
| | |||||
* | Add `respond_with` `location` option to the docs | Tute Costa | 2013-06-18 | 1 | -2/+6 |
| | |||||
* | Multiple changes to 1,9 hash syntax | AvnerCohen | 2012-10-27 | 1 | -10/+10 |
| | |||||
* | Fix example code: use tasks instead of comments | Erik Behrends | 2012-09-02 | 1 | -1/+1 |
| | |||||
* | Fix code comment to reflect its intent. | Selem Delul | 2012-07-11 | 1 | -1/+1 |
| | |||||
* | Fix AC responder example | Alexey Vakhov | 2012-04-04 | 1 | -1/+1 |
| | |||||
* | Always passing a respond block from to responder | Prem Sichanugrist | 2012-03-05 | 1 | -2/+11 |
| | | | | | | | We should let the responder to decide what to do with the given overridden response block, and not short circuit it. Fixes #5280 | ||||
* | Add config.default_method_for_update to support PATCH | David Lee | 2012-02-22 | 1 | -6/+7 |
| | | | | | | | | | | | | | | | | PATCH is the correct HTML verb to map to the #update action. The semantics for PATCH allows for partial updates, whereas PUT requires a complete replacement. Changes: * adds config.default_method_for_update you can set to :patch * optionally use PATCH instead of PUT in resource routes and forms * adds the #patch verb to routes to detect PATCH requests * adds #patch? to Request * changes documentation and comments to indicate support for PATCH This change maintains complete backwards compatibility by keeping :put as the default for config.default_method_for_update. | ||||
* | search private / protected methods in trunk ruby | Aaron Patterson | 2012-02-20 | 1 | -1/+1 |
| | |||||
* | Clean up a bit default_response handling and cache format negotiation. | José Valim | 2012-02-04 | 1 | -2/+1 |
| | |||||
* | Merge pull request #3613 from mitio/fix-actionpack-responder-docs | Xavier Noria | 2011-11-11 | 1 | -4/+4 |
|\ | | | | | Fix wording and minor typos in the Responder RDoc | ||||
| * | Fix wording and minor typos in the Responder RDoc | Dimitar Dimitrov | 2011-11-11 | 1 | -4/+4 |
| | | |||||
* | | Responders now return 204 No Content for API requests without a response ↵ | José Valim | 2011-10-26 | 1 | -21/+1 |
|/ | | | | body (as in the new scaffold) | ||||
* | JSON responder should return errors with :error root | Denis Odorcic | 2011-10-10 | 1 | -1/+9 |
| | |||||
* | find(:all) => all | Akira Matsuda | 2011-07-08 | 1 | -1/+1 |
| | |||||
* | Make sure respond_with with :js tries to render a template in all cases | José Valim | 2011-06-30 | 1 | -0/+5 |
| | |||||
* | Update respond_with docs to deal better with collections. | José Valim | 2011-05-05 | 1 | -1/+6 |
| | |||||
* | Improve docs. | José Valim | 2011-03-31 | 1 | -0/+31 |
| | |||||
* | pass respond_with options to controller render when using a template for api ↵ | Josh Kalderimis | 2011-03-31 | 1 | -1/+1 |
| | | | | | | navigation Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | only try to display an api template in responders if the request is a get or ↵ | Josh Kalderimis | 2011-03-31 | 1 | -4/+9 |
| | | | | | | there are no errors Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | when using respond_with with an invalid resource and custom options, the ↵ | Josh Kalderimis | 2011-03-31 | 1 | -1/+2 |
| | | | | | | default response status and error messages should be returned Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Remove misleading reference to polymorphic_url. | José Valim | 2011-02-11 | 1 | -2/+0 |
| | |||||
* | No need to symbolize these. | José Valim | 2010-12-27 | 1 | -2/+2 |
| | |||||
* | Return a valid empty JSON on successful PUT and DELETE requests. [#5199 ↵ | Szymon Nowak | 2010-10-12 | 1 | -0/+20 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | escape constant names | Joost Baaij | 2010-08-26 | 1 | -5/+5 |
| | |||||
* | Use attribute readers as they are faster in general. | José Valim | 2010-08-19 | 1 | -8/+2 |
| | |||||
* | Small changes to responder: | José Valim | 2010-06-26 | 1 | -5/+13 |
| | | | | | | * resources is always an array; * Lazy retrieve request and formats; * Alias api_location and navigation_location to resource_location, making easier to change its behavior without affecting each other and without a need to reimplement any of the behavior methods. | ||||
* | Fix a bug where responders were not working properly on method override. | José Valim | 2010-05-24 | 1 | -1/+1 |
| | |||||
* | Move the error raising to api_behavior. | José Valim | 2010-04-07 | 1 | -1/+2 |
| | |||||
* | * Change the object used in routing constraints to be an instance of | wycats | 2010-04-03 | 1 | -1/+1 |
| | | | | | | | | | | | ActionDispatch::Request rather than Rack::Request. * Changed ActionDispatch::Request#method to return a String, to be compatible with the Rack::Request superclass. * Changed ActionDispatch::Request#method to return the original method in the case of methodoverride and #request_method not to, to be compatible with Rack::Request | ||||
* | Ensure json is loaded before using responders. | José Valim | 2010-03-17 | 1 | -0/+2 |
| | |||||
* | Merge docrails | Pratik Naik | 2010-01-17 | 1 | -17/+17 |
| | |||||
* | Responder redirects to resource if destroy fails. | José Valim | 2009-12-07 | 1 | -2/+7 |
| | | | | Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local> | ||||
* | Allow ActionController::Responder to have a common entry point for all formats. | José Valim | 2009-12-01 | 1 | -3/+8 |
| | | | | Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local> | ||||
* | Split mime responder into smaller chunks and allow action to be configured. | José Valim | 2009-11-13 | 1 | -17/+27 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Only undef to_json if it's defined | Jeremy Kemper | 2009-10-19 | 1 | -1/+1 |
| | |||||
* | Ensure that blocks are also handled inside the responder. | José Valim | 2009-08-29 | 1 | -5/+20 |
| | |||||
* | Attempt to render the template inside the responder, so it can be used for ↵ | José Valim | 2009-08-29 | 1 | -5/+9 |
| | | | | | | caching and pagination. Signed-off-by: Yehuda Katz <wycats@gmail.com> | ||||
* | Ensure collections are not treated as nested resources. | José Valim | 2009-08-13 | 1 | -5/+5 |
| | |||||
* | Renamed ActionController::Renderer to ActionController::Responder and ↵ | José Valim | 2009-08-08 | 1 | -0/+181 |
ActionController::MimeResponds::Responder to ActionController::MimeResponds::Collector. |