Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | schema cache already has the columns as a hash, so use that | Aaron Patterson | 2012-11-26 | 1 | -1/+20 |
| | | | | | | | | | | | | | | | | | | | | | Commits 978ec98c8eff824a60c7e973f369cc7bed1f4d36 and 51676652a3568ad09b06385564de4fdcb13af05e changed database statements to use the schema_cache methods, added on master in c99e34e90d763c52cbe8dc3d950ed1b4db665dc4 and dc973e78560a6514ab172f0ee86dc84a9147d39a But apparently the methods weren't added to schema_cache, resulting in the failure described in #8322 for 3-2-stable. Fixes #8322. Conflicts: activerecord/lib/active_record/connection_adapters/schema_cache.rb | ||||
* | Should clear the primary keys cache also | Jon Leighton | 2011-12-16 | 1 | -0/+1 |
| | |||||
* | Don't store defaults in the schema cache | Jon Leighton | 2011-12-16 | 1 | -3/+2 |
| | |||||
* | Defaults hash can go on the model | Jon Leighton | 2011-12-16 | 1 | -14/+1 |
| | |||||
* | Cache columns at the model level. | Jon Leighton | 2011-12-16 | 1 | -9/+2 |
| | | | | Allows two models to use the same table but have different primary keys. | ||||
* | Use `table_exists?` from the schema cache. | Aaron Patterson | 2011-12-09 | 1 | -4/+2 |
| | |||||
* | pushing caching and visitors down to the connection | Aaron Patterson | 2011-11-19 | 1 | -0/+72 |