Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. |