Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Use response_body rather than performed? | Yehuda Katz | 2009-08-09 | 1 | -1/+1 | |
| | ||||||
* | Fix HTTP basic authentication for long credentials [#2572 state:resolved] | Jan Schwenzien | 2009-08-09 | 1 | -1/+1 | |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Polymorphic routes generates collection URL from model class [#1089 ↵ | Niklas Holmgren | 2009-08-08 | 1 | -0/+7 | |
| | | | | | | | state:resolved] Signed-off-by: Dan Pickett <dpickett@enlightsolutions.com> Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Merge commit 'jose/responder' | Yehuda Katz | 2009-08-08 | 2 | -25/+25 | |
|\ | ||||||
| * | Renamed ActionController::Renderer to ActionController::Responder and ↵ | José Valim | 2009-08-08 | 2 | -25/+25 | |
| | | | | | | | | ActionController::MimeResponds::Responder to ActionController::MimeResponds::Collector. | |||||
* | | Fixes "Cached fragment hit" written to log even if fragment is not cached ↵ | Yehuda Katz | 2009-08-08 | 1 | -2/+2 | |
|/ | | | | (Erik Andrejko) [#2917 state:resolved] | |||||
* | First pass at making partial rendering an Object. More cleanup to come. | Yehuda Katz | 2009-08-08 | 1 | -3/+0 | |
| | ||||||
* | Rename find_by_parts and find_by_parts? to find and exists? | Yehuda Katz | 2009-08-07 | 2 | -2/+2 | |
| | ||||||
* | Renamed presenter to renderer, added some documentation and defined its API. | José Valim | 2009-08-07 | 8 | -213/+252 | |
| | ||||||
* | 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 | 3 | -61/+124 | |
| | ||||||
* | Merge branch 'master' of git://github.com/rails/rails into old | José Valim | 2009-08-07 | 1 | -13/+2 | |
|\ | ||||||
| * | Get all ActionController partial rendering to use ActionView's partial code. ↵ | Yehuda Katz | 2009-08-07 | 1 | -13/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Consequences: * It is not possible to always pre-determine the layout before going to ActionView. This was *already* broken for render :partial => @object, :layout => true. This is now handled by overriding render_to_body in layouts.rb and manually injecting the partial's response. This needs to be done in ActionController since ActionController knows enough to get _layout_for_option. There is probably a better abstraction here. * As a result, all partial rendering can correctly restrict their layouts to the mime type of the rendered partial. This could have previously caused a bug in some edge cases. * If other layout-like options are added, they might need to add special code for the case of render :partial. We should try to think of an alternate solution, if possible, but this works for the cases we know of now. | |||||
* | | Merge branch 'master' of git://github.com/rails/rails into old | José Valim | 2009-08-07 | 38 | -936/+27 | |
|\| | ||||||
| * | Start cleaning up partial path | Yehuda Katz | 2009-08-07 | 1 | -1/+1 | |
| | | ||||||
| * | Clean up render @object a bit more. | Yehuda Katz | 2009-08-07 | 1 | -15/+0 | |
| | | ||||||
| * | Remove file that doesn't seem to be used anymore | Yehuda Katz | 2009-08-06 | 1 | -84/+0 | |
| | | ||||||
| * | Move AbstractController to a top-level component | Yehuda Katz | 2009-08-06 | 10 | -796/+0 | |
| | | ||||||
| * | ActionController::Metal#to_rack converted to #to_a to match normal rack ↵ | Yehuda Katz | 2009-08-06 | 2 | -3/+3 | |
| | | | | | | | | convention | |||||
| * | Update _render_options to reflect the fact that they're public | Yehuda Katz | 2009-08-06 | 1 | -6/+6 | |
| | | ||||||
| * | Rename /base to /metal and make base.rb and metal.rb top-level to reflect ↵ | Yehuda Katz | 2009-08-06 | 25 | -0/+0 | |
| | | | | | | | | their module locations | |||||
| * | rename ActionController::Http to ActionController::Metal at Josh's suggestion | Yehuda Katz | 2009-08-06 | 3 | -5/+5 | |
| | | ||||||
| * | Replace _action_view with view_context to reflect that it is public and that ↵ | Yehuda Katz | 2009-08-06 | 4 | -9/+8 | |
| | | | | | | | | it does not need to be an ActionView instance | |||||
| * | replace _render_*_from_controller with render_* as they are intended to be ↵ | Yehuda Katz | 2009-08-06 | 1 | -4/+4 | |
| | | | | | | | | public | |||||
| * | Update cache_control to be a Hash of options that is used to build the header. | Yehuda Katz | 2009-08-02 | 3 | -21/+6 | |
| | | | | | | | | * Significantly simplifies setting and modifying cache control in other areas | |||||
| * | Ruby 1.9: fix Content-Length for multibyte send_data streaming | Sava Chankov | 2009-08-01 | 1 | -1/+3 | |
| | | | | | | | | | | | | [#2661 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | | Allow respond_with to deal with http verb accordingly. | José Valim | 2009-07-31 | 1 | -37/+74 | |
| | | ||||||
* | | Remove any resource logic from respond_to. | José Valim | 2009-07-30 | 1 | -17/+14 | |
|/ | ||||||
* | Remove last TODO. | José Valim | 2009-07-29 | 2 | -6/+1 | |
| | | | | Signed-off-by: Yehuda Katz <wycats@gmail.com> | |||||
* | Add a couple more tests to respond_with. | José Valim | 2009-07-29 | 1 | -11/+8 | |
| | | | | Signed-off-by: Yehuda Katz <wycats@gmail.com> | |||||
* | Added respond_with. | José Valim | 2009-07-29 | 1 | -26/+139 | |
| | | | | Signed-off-by: Yehuda Katz <wycats@gmail.com> | |||||
* | Added tests for respond_to class method. | José Valim | 2009-07-29 | 1 | -1/+1 | |
| | | | | Signed-off-by: Yehuda Katz <wycats@gmail.com> | |||||
* | Ensure that the proper accept header value is set during tests. | José Valim | 2009-07-29 | 1 | -2/+2 | |
| | | | | Signed-off-by: Yehuda Katz <wycats@gmail.com> | |||||
* | Remove Mime::ALL from Mime::SET. | José Valim | 2009-07-29 | 1 | -0/+1 | |
| | | | | Signed-off-by: Yehuda Katz <wycats@gmail.com> | |||||
* | Refactor even more Responder. Move mime negotiation to request and added ↵ | José Valim | 2009-07-29 | 1 | -51/+99 | |
| | | | | | | respond_to class method. Signed-off-by: Yehuda Katz <wycats@gmail.com> | |||||
* | Refactor Responder to only calculate available mime types. Those are sent to ↵ | José Valim | 2009-07-29 | 1 | -58/+71 | |
| | | | | | | the controller that knows what to do with it (render a block or call default render). Signed-off-by: Yehuda Katz <wycats@gmail.com> | |||||
* | Merge docrails | Pratik Naik | 2009-07-25 | 6 | -8/+7 | |
| | ||||||
* | Define ActiveModel API Compliance | Yehuda Katz | 2009-07-20 | 1 | -0/+1 | |
| | | | | | | - Define to_model on AR - Define to_model on ActiveModel::APICompliant - Update test fixtures to be API Compliant - Start using to_model in AP | |||||
* | Simplify required "ActionView compliant" API | Yehuda Katz | 2009-07-19 | 2 | -17/+8 | |
| | ||||||
* | Add some missing dependencies | Yehuda Katz | 2009-07-15 | 1 | -0/+1 | |
| | ||||||
* | Fix AbstractController::Layouts to work when included directly on a controller | Yehuda Katz | 2009-07-15 | 1 | -0/+1 | |
| | ||||||
* | Centralize commonly used parts of AS in ActionController into ↵ | Yehuda Katz | 2009-07-15 | 5 | -6/+2 | |
| | | | | action_controller.rb | |||||
* | Rename method to a more obvious name | Yehuda Katz | 2009-07-11 | 2 | -4/+4 | |
| | ||||||
* | Allow symbols on routes declaration (:controller and :action values) [#2828 ↵ | Jesús García Sáez | 2009-07-02 | 1 | -0/+1 | |
| | | | | | | state:resolved] Signed-off-by: Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | |||||
* | Accept Symbol for contoller name [#2855 state:resolved] | Yehuda Katz + Carl Lerche | 2009-07-01 | 1 | -1/+1 | |
| | | | Signed-off-by: Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | |||||
* | Make filter_parameters work correctly with array parameters. | Vicente Mundim | 2009-06-27 | 1 | -0/+4 | |
| | ||||||
* | send_data should set Content-Length as a string | Joshua Peek | 2009-06-25 | 1 | -1/+1 | |
| | ||||||
* | Missed file from the previous commit 92b229e1251d7d3578c3f73e8185972354e76436 | Pratik Naik | 2009-06-25 | 1 | -0/+15 | |
| | ||||||
* | Make performance tests work again | Pratik Naik | 2009-06-25 | 1 | -15/+0 | |
| |