Jeremy Kemper
|
bfb906a905
|
Speed up and simplify query caching.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7498 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-17 06:15:58 +00:00 |
|
Jeremy Kemper
|
2894887925
|
Explicitly require active_record/query_cache before using it.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7419 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-08 04:31:26 +00:00 |
|
Michael Koziarski
|
b18d9568a6
|
Ensure QueryCache doesn't try to dup numeric results (does not affect the major OS database). Closes #7661 [tomafro, nzkoz]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7399 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-09-02 23:52:58 +00:00 |
|
Rick Olson
|
ea07212d97
|
dont call #collect on a string when returning query cache results. Closes #9099 [norbert]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7239 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-07-25 13:05:58 +00:00 |
|
Rick Olson
|
f5ea6f880f
|
Perform a deep #dup on query cache results so that modifying activerecord attributes does not modify the cached attributes. [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7238 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-07-25 03:48:30 +00:00 |
|
Tobias Lütke
|
7842caed94
|
Fixed query cache when multiple database connections were involved
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6195 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-21 21:54:41 +00:00 |
|
Tobias Lütke
|
b5419cd66e
|
You can now use cache in instance hierachies. This allows ActiveRecord::Base.cache { } usage to cache everything
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6179 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-20 23:42:04 +00:00 |
|
Tobias Lütke
|
f458b376c5
|
Introducing Model.cache { ... } for the occasional query caching needs. ( fantastic to reduce the 200 SELECT * from accounts WHERE id=1 queries in your views )
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6138 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-06 21:16:07 +00:00 |
|