diff options
author | Sean Griffin <sean@thoughtbot.com> | 2014-11-19 11:54:19 -0800 |
---|---|---|
committer | Sean Griffin <sean@thoughtbot.com> | 2014-11-19 12:11:26 -0800 |
commit | cafed35b610d830049b7dffd924cbcdeedab72bb (patch) | |
tree | ab617d9d93f2e3e8e32fd1ed2a4861cdb58b837d /activerecord/lib/rails | |
parent | e0c938759fdb2f82057aa46a8410533a60424114 (diff) | |
download | rails-cafed35b610d830049b7dffd924cbcdeedab72bb.tar.gz rails-cafed35b610d830049b7dffd924cbcdeedab72bb.tar.bz2 rails-cafed35b610d830049b7dffd924cbcdeedab72bb.zip |
Add tests for `TypeMap#fetch` and push up to `TypeMap`
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
Diffstat (limited to 'activerecord/lib/rails')
0 files changed, 0 insertions, 0 deletions