Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Escape the extension when normalizing the action cache path. | Andrew White | 2012-05-20 | 1 | -2/+3 |
| | | | | | | | | | Although no recognized formats use non-ASCII characters, sometimes they can be included in the :format parameter because of invalid URLS. To prevent encoding incompatibility errors we need to escape them before passing the path to URI.unescape. Closes #4379 | ||||
* | added proc evaluation for action cache's layout parameter | Nico | 2012-05-02 | 1 | -2/+4 |
| | |||||
* | Merge branch 'master' of github.com:lifo/docrails | Vijay Dev | 2012-03-27 | 1 | -1/+1 |
|\ | |||||
| * | Fix AC actions caching comment | Alexey Vakhov | 2012-03-24 | 1 | -1/+1 |
| | | |||||
* | | ActionController caching small String#split optimization | Alexey Vakhov | 2012-03-24 | 1 | -2/+2 |
|/ | |||||
* | Rack body respond to each and not to join | Santiago Pastorino | 2012-02-14 | 1 | -2/+4 |
| | | | | | | | This fixes undef `to_str' for Rack::Chunked::Body when using caches_action + streaming on an action Closes #5027 | ||||
* | Updates documentaton to indicate that :expires_in can be used with all cache ↵ | dev | 2012-01-26 | 1 | -1/+2 |
| | | | | stores. | ||||
* | Changed 'proc' to 'Proc.new' in ActionController::Caching::Actions description | Alejandro Andrés | 2012-01-12 | 1 | -2/+2 |
| | |||||
* | Allowing string as url argument for expire_action | Thomas von Deyen | 2011-12-06 | 1 | -3/+2 |
| | |||||
* | this should never return nil, so no use for "try" | Aaron Patterson | 2011-10-31 | 1 | -1/+1 |
| | |||||
* | Ensure that the format isn't applied twice to the cache key, else it becomes ↵ | Christopher Meiklejohn | 2011-10-31 | 1 | -1/+1 |
| | | | | impossible to target with expire_action. | ||||
* | Typo fix | Oge Nnadi | 2011-08-13 | 1 | -1/+1 |
| | |||||
* | Remove extra white spaces on ActionPack docs. | Sebastian Martinez | 2011-05-23 | 1 | -2/+2 |
| | |||||
* | Proc objects for cache_path for caches_action no longer need controller ↵ | Ryan Bigg | 2011-03-26 | 1 | -7/+6 |
| | | | | object, nor to use send when calling routing helpers | ||||
* | Action Pack typos. | R.T. Lechow | 2011-03-05 | 1 | -1/+1 |
| | |||||
* | Fix Action caching bug where an action that has a non-cacheable response ↵ | Cheah Chu Yeow | 2011-03-02 | 1 | -3/+5 |
| | | | | | | | | | | always renders a nil response body. It now correctly renders the response body. Note that only GET and HTTP 200 responses can be cached. [#6480 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | makes a pass to the action caching rdoc | Xavier Noria | 2010-12-08 | 1 | -32/+41 |
| | |||||
* | Add to documentation that action caching does | Neeraj Singh | 2010-12-06 | 1 | -0/+5 |
| | | | | | | handle HTTP_ACCEPT attribute properly and might provide wrong result. Use params[:format] to avoid this issue. | ||||
* | Move uri parser to AS as URI.parser method to reuse it in AP and ARes. | Emilio Tagua | 2010-09-28 | 1 | -3/+1 |
| | |||||
* | Remove warning "URI.unescape is obsolete" from actionpack. | Emilio Tagua | 2010-09-27 | 1 | -4/+2 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Remove warning "URI.unescape is obsolete" from actionpack. | Emilio Tagua | 2010-09-27 | 1 | -1/+5 |
| | |||||
* | Escape 'caching' when used in a sentence; remove unnessesary quotes | Joost Baaij | 2010-08-26 | 1 | -7/+7 |
| | |||||
* | ActionCachingTestController rescues from all exceptions. Making sure that ↵ | Neeraj Singh | 2010-04-29 | 1 | -1/+1 |
| | | | | | | all the tests check for valid response. [#4468 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | response_body is an Array in 1.9, so an Array was being pushed onto the cache | wycats | 2010-03-19 | 1 | -0/+2 |
| | |||||
* | 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 |
| | |||||
* | Caching refactoring | Yehuda Katz | 2009-10-29 | 1 | -69/+66 |
| | |||||
* | First pass at cleaning up action caching | Yehuda Katz | 2009-10-28 | 1 | -92/+80 |
| | |||||
* | 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> | ||||
* | Use status response accessor instead of the 'Status' header | Joshua Peek | 2008-12-19 | 1 | -1/+1 |
| | |||||
* | 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 | 1 | -1/+1 |
| | | | | | | | | | | 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 |
| | |||||
* | 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> | ||||
* | Improve ActionCaching's format-handling | Jonathan del Strother | 2008-06-11 | 1 | -12/+29 |
| | | | | | | | | Make ActionCaching more aware of different mimetype formats. It will now use request.format to look up the cache type, in addition to the path extension. When expiring caches, the request format no longer affects which cache is expired. Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Allow caches_action to accept a layout option [#198 state:resolved] | josevalim | 2008-06-03 | 1 | -3/+17 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Added conditional support to caches_action [José Valim] [#166 state:resolved] | Joshua Peek | 2008-05-14 | 1 | -18/+19 |
| | |||||
* | Remove ActionController::Base#view_controller_internals | Pratik Naik | 2008-04-21 | 1 | -5/+0 |
| | | | | | | Get rid of ActionController::Base#view_controller_internals flag and use @@protected_view_variables for storing the list of controller specific instance variables which should be inaccessible inside views. | ||||
* | Moved the caching stores from ActionController::Caching::Fragments::* to ↵ | David Heinemeier Hansson | 2008-01-03 | 1 | -0/+148 |
ActiveSupport::Cache::*. If you're explicitly referring to a store, like ActionController::Caching::Fragments::MemoryStore, you need to update that reference with ActiveSupport::Cache::MemoryStore [DHH] Deprecated ActionController::Base.fragment_cache_store for ActionController::Base.cache_store [DHH] All fragment cache keys are now by default prefixed with the 'views/' namespace [DHH] Added ActiveRecord::Base.cache_key to make it easier to cache Active Records in combination with the new ActiveSupport::Cache::* libraries [DHH] Added ActiveSupport::Gzip.decompress/compress(source) as an easy wrapper for Zlib [Tobias Luetke] Included MemCache-Client to make the improved ActiveSupport::Cache::MemCacheStore work out of the box [Bob Cottrell, Eric Hodel] Added config.cache_store to environment options to control the default cache store (default is FileStore if tmp/cache is present, otherwise MemoryStore is used) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8546 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |