Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-04-12 | 1 | -2/+2 |
|\ | |||||
| * | removed :nodoc: from ActionController::MimeResponds | Jo Liss | 2011-04-10 | 1 | -2/+2 |
| | | | | | | | | | | So we don't miss out on the nice documentation of the respond_to and respond_with instance methods. Also added :nodoc: to protected method. | ||||
* | | Using Object#in? and Object#either? in various places | Prem Sichanugrist | 2011-04-11 | 1 | -2/+3 |
|/ | | | | There're a lot of places in Rails source code which make a lot of sense to switching to Object#in? or Object#either? instead of using [].include?. | ||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-04-03 | 1 | -0/+3 |
|\ | |||||
| * | Explain in the method doc that you need to call respond_to at the class ↵ | Amaia Castro | 2011-03-31 | 1 | -0/+3 |
| | | | | | | | | level in order to use respond_with. | ||||
* | | pass respond_with options to controller render when using a template for api ↵ | Josh Kalderimis | 2011-03-31 | 1 | -2/+2 |
|/ | | | | | | navigation Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Fix respond_with example code so it makes sense | Will | 2010-12-19 | 1 | -2/+2 |
| | |||||
* | Correct deprecated AR usage in ActionController::MimeResponds documentation | Will | 2010-12-19 | 1 | -4/+4 |
| | |||||
* | implicit self here | Santiago Pastorino | 2010-11-25 | 1 | -1/+1 |
| | |||||
* | move the setting up of the mime collector into the collector on init | Josh Kalderimis | 2010-11-25 | 1 | -3/+3 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | There's no need for ternary op here | Santiago Pastorino | 2010-11-22 | 1 | -1/+1 |
| | |||||
* | Correctly handle the case of an API response that returns a hash by treating ↵ | Chris Eppstein | 2010-11-06 | 1 | -1/+1 |
| | | | | a single hash argument as the resource instead of as options. | ||||
* | doc: cleanup respond_to documentation | Wincent Colaiuta | 2010-07-26 | 1 | -9/+12 |
| | | | | Signed-off-by: Wincent Colaiuta <win@wincent.com> | ||||
* | Fixed many references to the old config/environment.rb and Rails::Initializer | Benjamin Quorning | 2010-07-13 | 1 | -1/+1 |
| | |||||
* | Ensure details are frozen after @details_keys lookup. The implementation ↵ | José Valim | 2010-03-27 | 1 | -2/+1 |
| | | | | waits to freeze until the last required moment, to avoid duping hashes. | ||||
* | Improve performance of the rendering stack by freezing formats as a sign ↵ | José Valim | 2010-03-19 | 1 | -0/+1 |
| | | | | that they shouldn't be further modified. | ||||
* | Finish cleaning up rendering stack from views and move assigns evaluation to ↵ | José Valim | 2010-03-12 | 1 | -0/+1 |
| | | | | controller (so plugins and/or controllers can overwrite just one method). | ||||
* | Convert to class_attribute | Jeremy Kemper | 2010-02-01 | 1 | -9/+12 |
| | |||||
* | Added AbstractController::Collector. | José Valim and Mikel Lindsaar | 2010-01-23 | 1 | -26/+3 |
| | |||||
* | Raise an error if respond_with is invoked and no format is declared. | José Valim | 2010-01-10 | 1 | -3/+6 |
| | |||||
* | Unify class_inheritable_accessor and extlib_inheritable_accessor and allow ↵ | José Valim | 2009-10-17 | 1 | -6/+3 |
| | | | | responder to be set in the class level. | ||||
* | Ensure that blocks are also handled inside the responder. | José Valim | 2009-08-29 | 1 | -18/+16 |
| | |||||
* | Attempt to render the template inside the responder, so it can be used for ↵ | José Valim | 2009-08-29 | 1 | -21/+28 |
| | | | | | | 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 | -2/+3 |
| | |||||
* | Renamed ActionController::Renderer to ActionController::Responder and ↵ | José Valim | 2009-08-08 | 1 | -13/+13 |
| | | | | ActionController::MimeResponds::Responder to ActionController::MimeResponds::Collector. | ||||
* | Renamed presenter to renderer, added some documentation and defined its API. | José Valim | 2009-08-07 | 1 | -152/+10 |
| | |||||
* | Encapsulate respond_with behavior in a presenter. | José Valim | 2009-08-07 | 1 | -190/+165 |
| | |||||
* | Add destroyed? to ActiveRecord, include tests for polymorphic urls for ↵ | José Valim | 2009-08-07 | 1 | -0/+31 |
| | | | | destroyed objects and refactor mime responds tests and documentation. | ||||
* | Add nagivational behavior to respond_with. | José Valim | 2009-08-07 | 1 | -47/+110 |
| | |||||
* | Merge branch 'master' of git://github.com/rails/rails into old | José Valim | 2009-08-07 | 1 | -47/+81 |
| | |||||
* | Rename /base to /metal and make base.rb and metal.rb top-level to reflect ↵ | Yehuda Katz | 2009-08-06 | 1 | -0/+353 |
their module locations |