aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/type/hash_lookup_type_map.rb
Commit message (Collapse)AuthorAgeFilesLines
* Reintroduce cache with testsSean Griffin2014-11-191-4/+6
|
* Add tests for `TypeMap#fetch` and push up to `TypeMap`Sean Griffin2014-11-191-4/+0
| | | | | | | 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
* Revert "PERF: optimise type lookup to avoid invoking procs"Sean Griffin2014-11-191-19/+1
| | | | This reverts commit da99a2a2982d35f670ad9647463e09bfe9032b70.
* PERF: optimise type lookup to avoid invoking procsSam2014-11-171-1/+19
|
* Move types to the top level `ActiveRecord` namespaceSean Griffin2014-05-271-0/+19
`ActiveRecord::ConnectionAdapters::Type::Value` => `ActiveRecord::Type::Value`