Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Ensure correct content type is declared after cache hits on actions with ↵ | Mislav Marohnić | 2009-03-10 | 1 | -0/+14 | |
| | | | | | | | | | | | | string cache keys [#1585 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
| * | Bump mocha requirement for Ruby 1.9 compat. Remove uses_mocha. | Jeremy Kemper | 2009-02-03 | 1 | -14/+10 | |
| | | ||||||
* | | Temporarily modifies setup to call super directly. This can support more ↵ | Yehuda Katz and Carl Lerche | 2009-04-08 | 1 | -0/+4 | |
|/ | | | | T::U runners. | |||||
* | Undry ActionController::TestCase#<HTTP_METHODS> for better documentation | Pratik Naik | 2008-12-25 | 1 | -2/+1 | |
| | ||||||
* | Use status response accessor instead of the 'Status' header | Joshua Peek | 2008-12-19 | 1 | -1/+1 | |
| | ||||||
* | Fix failing test introduced by optional-format routes | Jeremy Kemper | 2008-12-08 | 1 | -0/+1 | |
| | ||||||
* | Ensure route set is cleared on teardown | Joshua Peek | 2008-12-04 | 1 | -2/+2 | |
| | ||||||
* | write_fragment returns content if caching is disabled [#846 state:resolved] | Joshua Peek | 2008-11-22 | 1 | -1/+1 | |
| | ||||||
* | Wrap straggling mocha user with uses_mocha block | Jeremy Kemper | 2008-11-08 | 1 | -5/+7 | |
| | ||||||
* | Move controller assertions from base TestCase to AC:: and AV::TestCase | Jeremy Kemper | 2008-11-07 | 1 | -4/+4 | |
| | ||||||
* | Update tests for request memoization | Jeremy Kemper | 2008-08-08 | 1 | -1/+1 | |
| | ||||||
* | Improved test coverage for fragment cache helper | Joshua Peek | 2008-07-15 | 1 | -13/+49 | |
| | ||||||
* | Get buffer for fragment cache from template's @output_buffer | Joshua Peek | 2008-07-15 | 1 | -41/+2 | |
| | ||||||
* | Made ActionView::Base#first_render a little more private. And added ↵ | Joshua Peek | 2008-07-13 | 1 | -0/+8 | |
| | | | | _last_render to track the most recent render. Will fix #609 as a side effect. [#609 state:resolved] | |||||
* | Set global ActionController::Base.view_paths for test cases | Joshua Peek | 2008-07-12 | 1 | -3/+0 | |
| | ||||||
* | Ensure use_accept_header is enabled for test_action_cache_conditional_options | Joshua Peek | 2008-07-11 | 1 | -1/+2 | |
| | ||||||
* | Ensure use_accept_header is enabled for test_action_cache_conditional_options | Joshua Peek | 2008-07-11 | 1 | -0/+2 | |
| | ||||||
* | Disable the Accept header by default | Michael Koziarski | 2008-07-07 | 1 | -8/+2 | |
| | | | | | | | | 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 | -1/+9 | |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Set precompiled fixture load path constant to speed up tests | Joshua Peek | 2008-06-25 | 1 | -2/+3 | |
| | ||||||
* | Revert "Lazy load cache and session stores" | David Heinemeier Hansson | 2008-06-12 | 1 | -1/+0 | |
| | | | | This reverts commit 19895f087c338d8385dff9d272d30fb87cb10330. | |||||
* | Improve ActionCaching's format-handling | Jonathan del Strother | 2008-06-11 | 1 | -5/+48 | |
| | | | | | | | | 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> | |||||
* | Lazy load cache and session stores | Pratik Naik | 2008-06-10 | 1 | -0/+1 | |
| | ||||||
* | Merge branch 'master' into erbout | Jeremy Kemper | 2008-06-03 | 1 | -0/+15 | |
|\ | ||||||
| * | Allow caches_action to accept a layout option [#198 state:resolved] | josevalim | 2008-06-03 | 1 | -0/+15 | |
| | | | | | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | |||||
* | | Stack @output_buffer for nested rendering | Jeremy Kemper | 2008-06-03 | 1 | -1/+1 | |
| | | ||||||
* | | Work with @output_buffer instead of _erbout | Jeremy Kemper | 2008-06-02 | 1 | -1/+3 | |
|/ | ||||||
* | Add fragment_exist? and exist? methods to cache stores. [#203 state:resolved] | José Valim | 2008-05-19 | 1 | -20/+22 | |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | Added conditional support to caches_action [José Valim] [#166 state:resolved] | Joshua Peek | 2008-05-14 | 1 | -13/+67 | |
| | ||||||
* | Add conditional options to caches_page method [#25 state:resolved] | Paul Horsfall | 2008-04-19 | 1 | -1/+8 | |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | |||||
* | Fix a few caching errors, expose a case thats still not working (ref #107330 ↵ | David Heinemeier Hansson | 2008-01-12 | 1 | -1/+67 | |
| | | | | | | [catfish] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8630 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Move fragment caching from special helper methods to TemplateHandler. Closes ↵ | Jeremy Kemper | 2008-01-10 | 1 | -4/+4 | |
| | | | | | | #10754 [Josh Peek] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8619 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | require abstract_unit directly since test is in load path | Jeremy Kemper | 2008-01-05 | 1 | -1/+1 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8564 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Moved the caching stores from ActionController::Caching::Fragments::* to ↵ | David Heinemeier Hansson | 2008-01-03 | 1 | -26/+26 | |
| | | | | | | 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 | |||||
* | Made fragment caching in views work for rjs and builder as well (closes ↵ | David Heinemeier Hansson | 2008-01-03 | 1 | -9/+141 | |
| | | | | | | #6642) [zsombor] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8542 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Added protection from trailing slashes on page caching (closes #10229) ↵ | David Heinemeier Hansson | 2007-11-28 | 1 | -0/+14 | |
| | | | | | | [devrieda] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8226 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | memoize host with port and refactor the tests which depend on it changing | Michael Koziarski | 2007-11-17 | 1 | -1/+7 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8164 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Fixed spelling errors (closes #9706) [tarmo/rmm5t] | David Heinemeier Hansson | 2007-09-28 | 1 | -1/+1 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7666 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Fixed cache_page to use the request url instead of the routing options when ↵ | David Heinemeier Hansson | 2007-09-23 | 1 | -0/+9 | |
| | | | | | | picking a save path (closes #8614) [josh] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7598 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | correct the ActionCacheTest from [7346] | Rick Olson | 2007-08-20 | 1 | -0/+2 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7348 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Fix bug where action caching sets the content type to the ActionCachePath ↵ | Rick Olson | 2007-08-20 | 1 | -0/+5 | |
| | | | | | | object. Closes #9282 [mindforge] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7346 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Action caching is limited to GET requests returning 200 OK status. Closes #3335. | Jeremy Kemper | 2007-06-08 | 1 | -2/+29 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6970 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Added custom path cache_page/expire_page parameters in addition to the ↵ | David Heinemeier Hansson | 2007-05-27 | 1 | -0/+24 | |
| | | | | | | options hashes [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6868 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Action Caching speedup. #8231 [skaes] | Rick Olson | 2007-05-27 | 1 | -2/+2 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6867 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Allow configuration of the default action cache path for #caches_action ↵ | Rick Olson | 2007-03-22 | 1 | -0/+31 | |
| | | | | | | calls. [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6453 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Moved perform_caching test set up into test's setup to fix a dependence ↵ | David Heinemeier Hansson | 2007-02-25 | 1 | -1/+4 | |
| | | | | | | fragility (closes #7640) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6230 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Only cache GET requests with a 200 OK response. Closes #6514, #6743. | Jeremy Kemper | 2006-12-19 | 1 | -28/+91 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5755 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Make page caching respect the format of the resource that is being requested ↵ | Marcel Molina | 2006-10-12 | 1 | -0/+165 | |
even if the current route is the default route so that, e.g. posts.rss is not transformed by url_for to '/' and subsequently cached as '/index.html' when it should be cached as '/posts.rss'. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5289 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |