Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Deprecate automatic counter caches on has_many :through | Sean Griffin | 2014-06-26 | 1 | -2/+2 |
| | | | | | | | | | | | Reliant on https://github.com/rails/rails/pull/15747 but pulled to a separate PR to reduce noise. `has_many :through` associations have the undocumented behavior of automatically detecting counter caches. However, the way in which it does so is inconsistent with counter caches everywhere else, and doesn't actually work consistently. As with normal `has_many` associations, the user should specify the counter cache on the `belongs_to`, if they'd like it updated. | ||||
* | hide more data in the schema cache | Aaron Patterson | 2013-03-14 | 1 | -13/+10 |
| | |||||
* | safely publish columns and columns hash info | Aaron Patterson | 2013-03-14 | 1 | -9/+9 |
| | |||||
* | Add support schema cache dump and load. | kennyj | 2012-03-01 | 1 | -0/+15 |
| | |||||
* | Should clear the primary keys cache also | Jon Leighton | 2011-12-16 | 1 | -1/+5 |
| | |||||
* | Don't store defaults in the schema cache | Jon Leighton | 2011-12-16 | 1 | -1/+1 |
| | |||||
* | Cache columns at the model level. | Jon Leighton | 2011-12-16 | 1 | -9/+0 |
| | | | | Allows two models to use the same table but have different primary keys. | ||||
* | Fix schema_cache_test.rb for sqlite3_mem | Jon Leighton | 2011-11-29 | 1 | -6/+0 |
| | |||||
* | pushing caching and visitors down to the connection | Aaron Patterson | 2011-11-19 | 1 | -0/+55 |