1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/lib/active_record/locking
Sean Griffin & Sean Doyle ccc1d3dbbe 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`.
2014-06-27 11:33:32 -06:00
..
optimistic.rb Stop using instance exec for type decorators 2014-06-27 11:33:32 -06:00
pessimistic.rb [ci skip] avoid deprecation warning in sample code 2013-10-18 22:01:50 +09:00