Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add `Style/EmptyLines` in `.rubocop.yml` and remove extra empty lines | Ryuta Kamizono | 2016-08-07 | 1 | -1/+0 |
| | |||||
* | modernizes hash syntax in activerecord | Xavier Noria | 2016-08-06 | 1 | -2/+2 |
| | |||||
* | applies new string literal convention in activerecord/test | Xavier Noria | 2016-08-06 | 1 | -9/+9 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | Prepared statements shouldn't share a cache with unprepared statements | Sean Griffin | 2016-03-31 | 1 | -0/+12 |
| | | | | | | | | | When prepared statements are enabled, the statement cache caches the SQL directly, including the bind parameters. If a similar query is run later with prepared statements disabled, we need to use a separate cache instead of trying to share the same one. Fixes #24351 | ||||
* | use an array for bind params to simplify substitution | Aaron Patterson | 2014-04-12 | 1 | -10/+10 |
| | |||||
* | decouple the factory method from the constructing model | Aaron Patterson | 2014-04-10 | 1 | -5/+5 |
| | | | | | | 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. | ||||
* | remove intelligence from StatementCache#initialize | Aaron Patterson | 2014-04-10 | 1 | -5/+5 |
| | |||||
* | stop caching the class on the statement cache object | Aaron Patterson | 2014-04-10 | 1 | -8/+8 |
| | |||||
* | change query strategy based on adapter | Aaron Patterson | 2014-01-16 | 1 | -1/+0 |
| | |||||
* | use a params hash so we know what bind parameters are used | Aaron Patterson | 2014-01-15 | 1 | -15/+16 |
| | |||||
* | fix statement cache execution | Aaron Patterson | 2014-01-14 | 1 | -7/+6 |
| | |||||
* | fix cache class interface | Aaron Patterson | 2014-01-14 | 1 | -17/+9 |
| | |||||
* | Initial commit for select statements bindparam implementation | Noemj | 2013-05-15 | 1 | -1/+44 |
| | |||||
* | cleanup statement cache test | Vipul A M | 2013-04-11 | 1 | -4/+4 |
| | |||||
* | Merge pull request #10152 from Noemj/statement_cache | Rafael Mendonça França | 2013-04-10 | 1 | -5/+5 |
| | | | | | | | Statement cache Conflicts: activerecord/CHANGELOG.md | ||||
* | Added statement cache | Noemj | 2013-04-10 | 1 | -0/+64 |