Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Ensure the type map's cache is thread safe | Sean Griffin | 2014-11-24 | 1 | -3/+7 |
| | | | | | Thanks to @thedarkone for pointing out that an instance of this object is used in a shared context. | ||||
* | Reintroduce cache with tests | Sean Griffin | 2014-11-19 | 1 | -10/+18 |
| | |||||
* | Add tests for `TypeMap#fetch` and push up to `TypeMap` | Sean Griffin | 2014-11-19 | 1 | -1/+5 |
| | | | | | | | It doesn't make sense for the subclass to implement this method, and not have it on the parent. We can also DRY up the implementation of `#lookup` to be defined in terms of fetch, which will give us a single point of entry | ||||
* | Move types to the top level `ActiveRecord` namespace | Sean Griffin | 2014-05-27 | 1 | -0/+48 |
`ActiveRecord::ConnectionAdapters::Type::Value` => `ActiveRecord::Type::Value` |