Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace 'RAILS_ROOT' to 'Rails.root' and 'RAILS_ENV' to 'Rails.env' in ↵ | Anil Wadghule | 2010-04-12 | 1 | -1/+1 |
| | | | | significant places. | ||||
* | Fix a bug in ActionDispatch::Static where Rails cannot find assets if ↵ | José Valim | 2010-04-08 | 1 | -2/+2 |
| | | | | started in another directory which is not the RAILS_ROOT. | ||||
* | response_body is an Array in 1.9, so an Array was being pushed onto the cache | wycats | 2010-03-19 | 1 | -0/+2 |
| | |||||
* | All tests pass without memoizing view_context | Carlhuda | 2010-03-18 | 1 | -19/+0 |
| | |||||
* | Remove caching's dependency on view_context. Also, make it so that the ↵ | Carlhuda | 2010-03-18 | 1 | -10/+14 |
| | | | | layout is always rendered the same way (so that layout dependencies on the action actually being rendered aren't masked on the first render) | ||||
* | @layout is a confusing name... use @cache_layout | Carlhuda | 2010-03-18 | 1 | -3/+3 |
| | |||||
* | Some more tweaks on <% %>. | Carlhuda | 2010-03-16 | 1 | -2/+1 |
| | | | | * The cache helper is now semantically "mark this region for caching" * As a result, <% x = cache do %> no longer works | ||||
* | RJS may cache an array | Jeremy Kemper | 2010-03-15 | 1 | -1/+1 |
| | |||||
* | Add deprecation notices for <% %>. | Carlhuda | 2010-03-15 | 1 | -5/+11 |
| | | | | | | | | | | | | | | | | * The approach is to compile <% %> into a method call that checks whether the value returned from a block is a String. If it is, it concats to the buffer and prints a deprecation warning. * <%= %> uses exactly the same logic to compile the template, which first checks to see whether it's compiling a block. * This should have no impact on other uses of block in templates. For instance, in <% [1,2,3].each do |i| %><%= i %><% end %>, the call to each returns an Array, not a String, so the result is not concatenated * In two cases (#capture and #cache), a String can be returned that should *never* be concatenated. We have temporarily created a String subclass called NonConcattingString which behaves (and is serialized) identically to String, but is not concatenated by the code that handles deprecated <% %> block helpers. Once we remove support for <% %> block helpers, we can remove NonConcattingString. | ||||
* | to_str works here | Jeremy Kemper | 2010-03-15 | 1 | -1/+1 |
| | |||||
* | read_ and write_fragment cache preserve html safety yet cache strings only | Jeremy Kemper | 2010-03-14 | 1 | -6/+6 |
| | |||||
* | Write strings to fragment cache, not outputbuffers | Jeremy Kemper | 2010-03-11 | 1 | -1/+3 |
| | |||||
* | skip_relative_url_root url_for option is dead | Joshua Peek | 2010-03-09 | 1 | -3/+3 |
| | |||||
* | Use AS::Concern for caching modules | Carlhuda | 2010-03-04 | 2 | -24/+22 |
| | |||||
* | Use safe_concat instead of trying to html_safe! what might be a frozen string | David Heinemeier Hansson | 2010-01-10 | 1 | -2/+2 |
| | |||||
* | Fixed that fragment caching should return a cache hit as html_safe (or it ↵ | David Heinemeier Hansson | 2010-01-07 | 1 | -1/+1 |
| | | | | would all just get escaped) [DHH] | ||||
* | Use underscore in notification namespaces. | José Valim | 2010-01-04 | 2 | -2/+2 |
| | |||||
* | Use namespaces in notifications. | José Valim | 2010-01-03 | 2 | -8/+14 |
| | |||||
* | Remove ActionView inline logging to ActiveSupport::Notifications and create ↵ | José Valim | 2009-12-26 | 1 | -1/+1 |
| | | | | ActionController::Base#log_event, so everything can be logged within one listener. Also expose log_process_action as a hook for different modules to include their own information during the action processing. This allow ActiveRecord to hook and any other ORM. Finally, this commit changes 'Processing' and 'Rendering' in logs to 'Processed' and 'Rendered' because at the point it's logged, everying already happened. | ||||
* | Caching refactoring | Yehuda Katz | 2009-10-29 | 2 | -70/+67 |
| | |||||
* | First pass at cleaning up action caching | Yehuda Katz | 2009-10-28 | 1 | -92/+80 |
| | |||||
* | Renamed Orchestra to Notifications once again [#3321 state:resolved] | José Valim | 2009-10-15 | 2 | -6/+6 |
| | |||||
* | Update Orchestra instrumentations and move part of logging to Orchestra. | José Valim | 2009-10-15 | 2 | -27/+9 |
| | |||||
* | Revert "Rename Orchestra to Notifications [#3321 state:resolved]" | José Valim | 2009-10-15 | 2 | -6/+6 |
| | | | | This reverts commit 8cbf825425dc8ad3770881ea4e100b9023c69ce2. | ||||
* | Rename Orchestra to Notifications [#3321 state:resolved] | Joshua Peek | 2009-10-14 | 2 | -6/+6 |
| | |||||
* | Add Orchestra instrumentation to fragment and page caching. | José Valim | 2009-09-20 | 2 | -18/+34 |
| | |||||
* | 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] | ||||
* | Replace _action_view with view_context to reflect that it is public and that ↵ | Yehuda Katz | 2009-08-06 | 1 | -2/+1 |
| | | | | it does not need to be an ActionView instance | ||||
* | Cleaning up if defined?(ActionController::Http) blocks from the pre new base ↵ | Yehuda Katz + Carl Lerche | 2009-06-17 | 1 | -13/+4 |
| | | | | era. | ||||
* | Remove some defined?(Http) checks | Yehuda Katz + Carl Lerche | 2009-06-17 | 1 | -8/+1 |
| | |||||
* | Fix failing ActionCacheFilter tests due to around filter changes. | Yehuda Katz + Carl Lerche | 2009-05-27 | 1 | -1/+1 |
| | |||||
* | Make Filter#filter work with around filters | Pratik Naik | 2009-05-25 | 1 | -11/+13 |
| | |||||
* | Modified caching implementation to work with NewBase | Yehuda Katz + Carl Lerche | 2009-05-19 | 1 | -3/+19 |
| | |||||
* | Fix action-cached exception responses. | John F. Douthat | 2009-04-30 | 1 | -1/+9 |
| | | | | | | | | Methods raising ActiveRecord::RecordNotFound were returning 404 on first request and 200 OK with blank body on subsequent requests. [#2533 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Deprecate template, session, assigns, and layout accessors on response ↵ | Joshua Peek | 2009-04-28 | 1 | -1/+1 |
| | | | | object. Instead access them through the controller instance. This mainly affects functional test assertions. | ||||
* | Merge docrails | lifo | 2009-04-17 | 1 | -1/+1 |
| | |||||
* | Ensure correct content type is declared after cache hits on actions with ↵ | Mislav Marohnić | 2009-03-10 | 1 | -17/+10 |
| | | | | | | string cache keys [#1585 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Fix for sweepers method_missing missing &block argument [#1581 status:committed] | Tys von Gaza | 2009-01-27 | 1 | -2/+2 |
| | | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
* | ActiveRecord::QueryCache middleware | Joshua Peek | 2008-12-22 | 1 | -18/+0 |
| | |||||
* | Use status response accessor instead of the 'Status' header | Joshua Peek | 2008-12-19 | 2 | -2/+2 |
| | |||||
* | Merge with docrails | Pratik Naik | 2008-12-07 | 2 | -23/+29 |
| | |||||
* | write_fragment returns content if caching is disabled [#846 state:resolved] | Joshua Peek | 2008-11-22 | 1 | -11/+11 |
| | |||||
* | Remove stuff that was deprecated in 2-1-stable | Pratik Naik | 2008-10-21 | 1 | -26/+0 |
| | |||||
* | Merge docrails | Pratik Naik | 2008-09-03 | 1 | -2/+2 |
| | |||||
* | Get rid of 'Object#send!'. It was originally added because it's in Ruby 1.9, ↵ | Jeremy Kemper | 2008-08-31 | 2 | -4/+4 |
| | | | | | | | | | | but it has since been removed from 1.9. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> Conflicts: actionpack/test/controller/layout_test.rb | ||||
* | Move layout rendering logic to ActionView::Base | Pratik Naik | 2008-08-31 | 1 | -1/+1 |
| | |||||
* | Merge with docrails. | Pratik Naik | 2008-07-16 | 1 | -1/+1 |
| | |||||
* | Get buffer for fragment cache from template's @output_buffer | Joshua Peek | 2008-07-15 | 1 | -3/+1 |
| | |||||
* | Disable the Accept header by default | Michael Koziarski | 2008-07-07 | 1 | -4/+1 |
| | | | | | | | | The accept header is poorly implemented by browsers and causes strange errors when used on public sites where crawlers make requests too. You should use formatted urls (e.g. /people/1.xml) to support API clients. Alternatively to re-enable it you need to set: config.action_controller.use_accept_header = true A special case remains for ajax requests which will have a javascript format for the base resource (/people/1) if the X-Requested-With header is present. This lets ajax pages still use format.js despite there being no params[:format] | ||||
* | Allow caches_action to accept cache store options. [#416 state:resolved] | josevalim | 2008-07-04 | 1 | -7/+11 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> |