diff options
author | Sean Griffin & Sean Doyle <sean+seandoyle@thoughtbot.com> | 2014-06-27 10:23:43 -0600 |
---|---|---|
committer | Sean Griffin <sean@thoughtbot.com> | 2014-06-27 11:33:32 -0600 |
commit | ccc1d3dbbec878309ea99839bb8ea2f8aca4dd72 (patch) | |
tree | 4678bf1eac2b61f9224b5300697e5b1252e060a3 /activerecord/lib/active_record/no_touching.rb | |
parent | 11ac0cad081eb418dfabe8a427332347beb12a0e (diff) | |
download | rails-ccc1d3dbbec878309ea99839bb8ea2f8aca4dd72.tar.gz rails-ccc1d3dbbec878309ea99839bb8ea2f8aca4dd72.tar.bz2 rails-ccc1d3dbbec878309ea99839bb8ea2f8aca4dd72.zip |
Stop using instance exec for type decorators
We are moving this behavior out to an object that we would like to keep
separated from `ActiveRecord::Base`, which means not passing the class
object to it. As such, we need to stop using `instance_exec`, and
instead close over the subclass on global type decorators that are
applied in `Base`.
Diffstat (limited to 'activerecord/lib/active_record/no_touching.rb')
0 files changed, 0 insertions, 0 deletions