David Heinemeier Hansson
|
2caf4d5a93
|
Added proper getters and setters for content type and charset [DHH] Added utf-8 as the default charset for all renders. You can change this default using ActionController::Base.default_charset=(encoding) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5129 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-17 16:20:32 +00:00 |
|
Jeremy Kemper
|
7aa9eed88f
|
Deprecation: update docs. Closes #5998.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4898 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-09-01 23:37:10 +00:00 |
|
Jeremy Kemper
|
12ff554cd4
|
Tighten rescue clauses. Closes #5985.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4885 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-31 03:16:28 +00:00 |
|
Marcel Molina
|
9b204641c0
|
Fix typo in caching docs.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4740 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-09 15:30:43 +00:00 |
|
Nicholas Seckar
|
74165eb6ac
|
New dependencies implementation
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4728 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-08 21:21:04 +00:00 |
|
Marcel Molina
|
08f40a5e06
|
Fix typo in caching docs. [Marcel Molina Jr.]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4657 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-04 00:02:44 +00:00 |
|
Marcel Molina
|
d17bd6a043
|
Make action caching aware of different formats for the same action so that, e.g. foo.xml is cached separately from foo.html. Implicitly set content type when reading in cached content with mime revealing extensions so the entire onous isn't on the webserver. PDI MORE CACHING TESTS [Marcel Molina Jr.]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4656 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-08-03 23:59:38 +00:00 |
|
Marcel Molina
|
6186490962
|
Replace Ruby's deprecated append_features in favor of included. [Marcel Molina Jr.]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4310 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-29 18:10:14 +00:00 |
|
Marcel Molina
|
09095c7204
|
Remove all remaining references to @params in the documentation.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4268 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-25 17:42:48 +00:00 |
|
David Heinemeier Hansson
|
dc87eba062
|
Fixed fragment caching of binary data on Windows (closes #4493) [bellis@deepthought.org]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4125 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-04-01 20:41:53 +00:00 |
|
David Heinemeier Hansson
|
3574ab3059
|
Added that page caching will only happen if the response code is less than 400 (closes #4033) [g.bucher@teti.ch]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3738 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-02 01:48:56 +00:00 |
|
David Heinemeier Hansson
|
050c3964d8
|
Stopped the massive bleeding of concerns into ActionController::Base. Base no longer knows about flash, filters, or components. This may well have introduced some instability, please do test with apps, especially the ones using components. [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3580 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-12 05:51:02 +00:00 |
|
David Heinemeier Hansson
|
ed080863d5
|
Just go with Subclasses instead of OnlySubclasses
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3533 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-04 06:11:42 +00:00 |
|
Nicholas Seckar
|
c77729fd23
|
Set sweeper's @controller to nil after a request so that the controller may be collected between requests.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3529 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-04 05:00:21 +00:00 |
|
Nicholas Seckar
|
1bce58b312
|
Add Reloadable::OnlySubclasses which handles the common case where a base class should not be reloaded, but its subclasses should be.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3521 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-02 05:41:00 +00:00 |
|
Nicholas Seckar
|
7a43a05a2b
|
Further improvements to reloading code
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3519 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-02 04:54:07 +00:00 |
|
Sam Stephenson
|
49401f880c
|
Subclasses of ActionController::Caching::Sweeper should be Reloadable
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3517 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-01 20:25:27 +00:00 |
|
David Heinemeier Hansson
|
26761d6d32
|
If included_modules doesnt take a parameter, we shouldnt either
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3509 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-01 03:58:37 +00:00 |
|
Michael Koziarski
|
e398045774
|
Fix Syntax problems which were preventing webrick from starting
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3508 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-01 03:54:37 +00:00 |
|
David Heinemeier Hansson
|
15da1cf2ca
|
Dont mark Sweepers as reloadables
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3505 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-02-01 02:58:22 +00:00 |
|
Jeremy Kemper
|
eecbd106a7
|
Don't used defined? on a scoped constant since it results in a const_missing call.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3298 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-12-13 18:05:31 +00:00 |
|
Jeremy Kemper
|
e9b26c52a2
|
Fix grammar error in [3115]. References #2966.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3117 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-11-21 02:14:31 +00:00 |
|
Jeremy Kemper
|
a0293c80f0
|
Improve expire_fragment documentation. Closes #2966.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3115 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-11-21 01:08:30 +00:00 |
|
Jeremy Kemper
|
745ea39926
|
MemCache store may be given multiple addresses. Closes #2869.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3054 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-11-16 08:35:31 +00:00 |
|
Jeremy Kemper
|
da2d4d6d57
|
Note that the ruby-memcache bindings are required to use the memcache store.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3013 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-11-14 00:08:24 +00:00 |
|
Jeremy Kemper
|
54a4e50662
|
Removed erroneous arg-size check in AC::Base.fragment_cache_store=. Closes #2650.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2820 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-29 23:12:13 +00:00 |
|
David Heinemeier Hansson
|
82f1e19e4c
|
Fixed docs (closes #2468)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2749 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-26 13:20:46 +00:00 |
|
Jamis Buck
|
1c057b7237
|
Update/clean up AP documentation (rdoc)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2649 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-16 15:42:03 +00:00 |
|
Marcel Molina
|
d4576673c0
|
Unescape paths before writing cache to file system. Closes #1877.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2544 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-12 22:57:04 +00:00 |
|
Marcel Molina
|
9025e5d47f
|
Make cacheing binary files friendly with Windows. Closes #1975.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2524 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-10-11 01:06:05 +00:00 |
|
David Heinemeier Hansson
|
438db964ad
|
Testing should also use a default REQUEST_METHOD
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2408 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-29 08:43:17 +00:00 |
|
David Heinemeier Hansson
|
ebb7bd7835
|
Added easy assignment of fragment cache store through use of symbols for included stores (old way still works too)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2230 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-13 08:31:32 +00:00 |
|
David Heinemeier Hansson
|
f86276b305
|
Fix fragment benchmark calls and limit timings to 5 decimals
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2142 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-06 17:33:11 +00:00 |
|
David Heinemeier Hansson
|
291c667d66
|
Only do benchmarking if log level matches and log caching
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2141 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-09-06 17:07:08 +00:00 |
|
David Heinemeier Hansson
|
0223565a4d
|
Expiring a cache that doesnt exist is bliss not bad
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1895 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-22 20:08:29 +00:00 |
|
David Heinemeier Hansson
|
3835f6ab25
|
Changed caching/expiration/hit to report using the DEBUG log level and errors to use the ERROR log level instead of both using INFO
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1889 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-22 11:28:58 +00:00 |
|
David Heinemeier Hansson
|
e51221871c
|
Fix doc typos #1734 [moriq@moriq.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1853 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-17 10:03:47 +00:00 |
|
David Heinemeier Hansson
|
853ea55674
|
Made documentation ready for release (AP)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1731 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-07-06 09:32:00 +00:00 |
|
David Heinemeier Hansson
|
280c224b43
|
Reverted changeset #1326 coming off ticket #1230 since it caused stale caches to be shared.. nasty
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1423 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-06-15 09:16:23 +00:00 |
|
Jamis Buck
|
b6c13f2d70
|
Don't die when an attempt to delete a cache fails
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1365 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-30 07:05:52 +00:00 |
|
David Heinemeier Hansson
|
977671c226
|
Optimize ActionCacheFilter by using url_for less #1230 [skaen]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1326 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-19 18:59:43 +00:00 |
|
David Heinemeier Hansson
|
358a669390
|
Added better error handling for regexp caching expiration
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1288 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-06 05:09:01 +00:00 |
|
David Heinemeier Hansson
|
1edb807aff
|
Dont expire or read fragments if caching is turned off
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1270 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-05-02 07:49:55 +00:00 |
|
David Heinemeier Hansson
|
e6f3e5d900
|
Fixed action/fragment caching using the filestore when a directory and a file wanted to to use the same name. Now there's a .cache prefix that sidesteps the conflict #1188 [imbcmdth@hotmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1260 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-30 15:29:27 +00:00 |
|
David Heinemeier Hansson
|
c29cfe389e
|
Check definition on constant not string
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1250 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-30 08:33:25 +00:00 |
|
David Heinemeier Hansson
|
5640f76970
|
Improved the speed of regular expression expirations for caching by a factor of 10 #1221 [Jamis Buck]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1248 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-30 08:23:42 +00:00 |
|
David Heinemeier Hansson
|
61cafca6ea
|
Disregard expire methods when the controller hasnt been set, which essentially makes it such that the record observer callbacks are ignored when the sweeper shouldnt be active
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1242 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-27 17:40:51 +00:00 |
|
David Heinemeier Hansson
|
a2ef9778ce
|
Added ActionController::Caching::Sweeper as an improved an easier to use sweeper. Added that Fragments#expire_fragment now accepts as a regular expression as the name thereby deprecating expire_matched_fragments. Fixed that fragments shouldn't use the current host and the path as part of the key like pages does
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1239 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-27 08:14:53 +00:00 |
|
David Heinemeier Hansson
|
7cda49248b
|
Fixed page caching for non-vhost applications living underneath the root #1004 [Ben Schumacher]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1193 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-17 14:10:24 +00:00 |
|
David Heinemeier Hansson
|
a0403bd732
|
Fixed #1030
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1139 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2005-04-10 17:42:17 +00:00 |
|