1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

12 commits

Author SHA1 Message Date
Aaron Patterson
09608ce9d2 use an array for bind params to simplify substitution 2014-04-12 18:40:29 -07:00
Aaron Patterson
dbc8c0ee36 decouple the factory method from the constructing model
The factory method only requires the constructing model to get the
connection object. Since the model is available when calling the factory
method, we can just pass the appropriate connection in.
2014-04-10 17:24:10 -07:00
Aaron Patterson
249fd686fb remove intelligence from StatementCache#initialize 2014-04-10 17:20:22 -07:00
Aaron Patterson
2d3969c82f stop caching the class on the statement cache object 2014-04-10 17:15:17 -07:00
Aaron Patterson
e7f5317ff9 change query strategy based on adapter 2014-01-16 15:38:05 -08:00
Aaron Patterson
f3e379f0c9 use a params hash so we know what bind parameters are used 2014-01-15 14:24:11 -08:00
Aaron Patterson
2de1bb859c fix statement cache execution 2014-01-14 14:33:03 -08:00
Aaron Patterson
74bfbfdb02 fix cache class interface 2014-01-14 14:26:00 -08:00
Noemj
eaf54865b1 Initial commit for select statements bindparam implementation 2013-05-15 17:20:23 +03:00
Vipul A M
127a2eea63 cleanup statement cache test 2013-04-11 18:08:46 +05:30
Rafael Mendonça França
0235cdf5ce Merge pull request #10152 from Noemj/statement_cache
Statement cache

Conflicts:
	activerecord/CHANGELOG.md
2013-04-10 16:02:26 -03:00
Noemj
af1a4bdc56 Added statement cache 2013-04-10 21:20:58 +03:00