Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "Revert "Add layout functionality to mailers."" | David Heinemeier Hansson | 2008-09-09 | 1 | -1/+5 |
| | | | | This reverts commit 36c6aa01ee0a7aee5b0510a8e649c44de318b060. | ||||
* | Revert "Add layout functionality to mailers." | David Heinemeier Hansson | 2008-09-09 | 1 | -5/+1 |
| | | | | This reverts commit e9a8e0053be3b293ab89fb584f1d660063f107aa. | ||||
* | Check for uninitialized instance variables | Jeremy Kemper | 2008-09-08 | 1 | -1/+1 |
| | |||||
* | Remove recognized_optimized method before redefining it | Jeremy Kemper | 2008-09-08 | 1 | -2/+15 |
| | |||||
* | Use defined? check since @view_paths may be uninitialized | Jeremy Kemper | 2008-09-08 | 1 | -1/+5 |
| | |||||
* | Ensure routing optimizations are cleared when new routes are added [#981 ↵ | Matt Jones | 2008-09-07 | 2 | -2/+11 |
| | | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Use a more sensible resolution on the new millisecond benchmarks | David Heinemeier Hansson | 2008-09-05 | 1 | -5/+5 |
| | |||||
* | Changed all benchmarking reports to be in milliseconds | David Heinemeier Hansson | 2008-09-05 | 1 | -24/+36 |
| | |||||
* | Merge docrails | Pratik Naik | 2008-09-03 | 4 | -64/+69 |
| | |||||
* | Some performance goodness for inheritable attributes. | Clemens Kofler | 2008-09-03 | 2 | -8/+8 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Some performance goodness for routing. | Clemens Kofler | 2008-09-03 | 1 | -3/+3 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Don't set Content-Length on 304 responses | Jonathan del Strother | 2008-09-02 | 1 | -1/+1 |
| | | | | | | | | | Commit 8aad8c claimed to do this, but it checks for the 304 status too early, before handle_conditional_get! has overridden it. [#958 state:resolved] Signed-off-by: Jonathan del Strother <jon.delStrother@bestbefore.tv> Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Get rid of 'Object#send!'. It was originally added because it's in Ruby 1.9, ↵ | Jeremy Kemper | 2008-08-31 | 13 | -34/+34 |
| | | | | | | | | | | but it has since been removed from 1.9. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> Conflicts: actionpack/test/controller/layout_test.rb | ||||
* | Add layout functionality to mailers. | Pratik Naik | 2008-08-31 | 1 | -1/+5 |
| | | | | | Mailer layouts behaves just like controller layouts, except layout names need to have '_mailer' postfix for them to be automatically picked up. | ||||
* | Fixes optimised named routes generating question mark followed by nothing ↵ | Luke Melia | 2008-08-31 | 1 | -2/+3 |
| | | | | | | | when provided an empty hash as the last argument. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#481 state:committed] | ||||
* | Moved layout exemption logic into the view | Joshua Peek | 2008-08-31 | 2 | -19/+7 |
| | |||||
* | Prefix ActionView::Base private methods with an underscore | Joshua Peek | 2008-08-31 | 2 | -2/+2 |
| | |||||
* | Fix AM tests and add tests for rendering logging | Pratik Naik | 2008-08-31 | 1 | -0/+2 |
| | |||||
* | Add lost log messages about template rendering | Pratik Naik | 2008-08-31 | 1 | -1/+0 |
| | |||||
* | Move layout rendering logic to ActionView::Base | Pratik Naik | 2008-08-31 | 3 | -53/+29 |
| | |||||
* | Move copying ivar logic from ActionController::Base to ActionView::Base | Pratik Naik | 2008-08-31 | 4 | -37/+13 |
| | |||||
* | Remove unused use_full_path argument | Pratik Naik | 2008-08-31 | 1 | -5/+5 |
| | |||||
* | Dont pass controller partial layout option to view | Pratik Naik | 2008-08-30 | 2 | -2/+2 |
| | |||||
* | Remove double layout check | Pratik Naik | 2008-08-30 | 1 | -6/+1 |
| | |||||
* | Add support for shallow nesting of routes. [#838 state:resolved] | Pratik Naik | 2008-08-30 | 1 | -12/+61 |
| | | | | | | | | | | | | | | | | | | Adds :shallow option to resource route definition. If true, paths for nested resources which reference a specific member (ie. those with an :id parameter) will not use the parent path prefix or name prefix. Example : map.resources :users, :shallow => true do |user| user.resources :posts end * GET /users/1/posts (maps to PostsController#index action as usual) named route "user_posts" is added as usual. * GET /posts/2 (maps to PostsController#show action as if it were not nested) Additionally, named route "post" is added too. | ||||
* | Make assert_select_rjs code more readable, make use of unused constants and ↵ | miloops | 2008-08-29 | 1 | -52/+26 |
| | | | | | | | | use more simple Regexps. [#540 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Improve assert_select_rjs failure messages for show, hide, toggle, and remove | Tim Haines | 2008-08-29 | 1 | -1/+7 |
| | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#931 state:committed] | ||||
* | Deprecate render_component. | Pratik Naik | 2008-08-29 | 2 | -2/+9 |
| | | | | | Please install render_component plugin from http://github.com/rails/render_component/tree/master if your application uses this functionality. | ||||
* | Routes may be restricted to lists of HTTP methods instead of a single method ↵ | Brennan Dunn | 2008-08-28 | 2 | -6/+8 |
| | | | | | | | | or :any. [#407 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Accept an array of method symbols for collection/member actions of resources | Brennan Dunn | 2008-08-28 | 1 | -8/+13 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Request#remote_ip handles the uncommon case that REMOTE_ADDR is a ↵ | Michael S. Klishin | 2008-08-27 | 1 | -3/+5 |
| | | | | | | | | comma-separated list. [#523 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Add TestUploadFile.content_type= to match Request.UploadedFile | Tim Haines | 2008-08-27 | 1 | -1/+1 |
| | | | | | | [#920 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Store application and other context specific helper modules in ↵ | Joshua Peek | 2008-08-26 | 1 | -1/+1 |
| | | | | ActionView::Base#helpers | ||||
* | Require missing libraries and check for defined ActionController constant so ↵ | Joshua Peek | 2008-08-26 | 1 | -0/+2 |
| | | | | ActionView can be used standalone | ||||
* | Removed template_public? because it will always be true since the default ↵ | Joshua Peek | 2008-08-21 | 1 | -5/+1 |
| | | | | template is never a partial | ||||
* | Cleanup around partial rendering | Ryan Bates | 2008-08-21 | 4 | -22/+8 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | deprecate Base#assign_default_content_type_and_charset | Jeremy Kemper | 2008-08-21 | 1 | -0/+5 |
| | |||||
* | Move default content type and charset from Base to Response. Handle charset ↵ | Jeremy Kemper | 2008-08-21 | 2 | -16/+30 |
| | | | | = nil. | ||||
* | Allow polymorphic_url helper to take url options. [#880 state:resolved] | Tarmo Tänav | 2008-08-21 | 1 | -5/+11 |
| | | | | | | | | | All *_polymorphic_url, *_polymorphic_path helpers can now accept an options hash which will be passed on to the named route making it possible to generate polymorphic routes with additional url parameters. Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Simplified and renamed CallbackChain union method to replace_or_append! | Joshua Peek | 2008-08-21 | 1 | -1/+1 |
| | |||||
* | Switched integration test runner to use Rack processor instead of CGI | Joshua Peek | 2008-08-20 | 1 | -44/+32 |
| | |||||
* | Don't shadow query string method | Joshua Peek | 2008-08-19 | 1 | -1/+10 |
| | |||||
* | Return nil instead of a space when passing an empty collection or nil to ↵ | Ryan Bates | 2008-08-19 | 1 | -3/+6 |
| | | | | | | 'render :partial' [#791 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Delegate xhr helper method to integration session | Joshua Peek | 2008-08-19 | 1 | -1/+1 |
| | |||||
* | Make AbstractRequest.if_modified_sense return nil if the header could not be ↵ | Jamis Buck | 2008-08-19 | 1 | -1/+1 |
| | | | | parsed | ||||
* | hack around CGI session close | Joshua Peek | 2008-08-19 | 1 | -1/+5 |
| | |||||
* | Consistently use the framework's configured logger and avoid reverting to ↵ | Joshua Peek | 2008-08-18 | 1 | -2/+2 |
| | | | | RAILS_DEFAULT_LOGGER unless necessary. | ||||
* | Use Response status accessor instead of the Status header | Joshua Peek | 2008-08-17 | 1 | -17/+17 |
| | |||||
* | Merge RackProcess#normalize_headers logic into AbstractResponse#prepare! | Joshua Peek | 2008-08-17 | 1 | -35/+52 |
| | |||||
* | Set cache control to require revalidation if cache freshness response ↵ | Jeremy Kemper | 2008-08-14 | 1 | -5/+14 |
| | | | | headers are set. Don't set Content-Length header if 304 status. |