diff options
author | Iain Beeston <iain.beeston@gmail.com> | 2016-10-03 11:00:03 +0100 |
---|---|---|
committer | Iain Beeston <iain.beeston@gmail.com> | 2016-10-03 16:42:26 +0100 |
commit | 671eb742eec77b5c8281ac2a2e3976ef32a6e424 (patch) | |
tree | d14e1802e7c5d86a5a560b878eb1a9b748787df0 /activerecord/lib/active_record/type/internal | |
parent | 2d6c14bca25c5629e431a802c3053bad1e378fcc (diff) | |
download | rails-671eb742eec77b5c8281ac2a2e3976ef32a6e424.tar.gz rails-671eb742eec77b5c8281ac2a2e3976ef32a6e424.tar.bz2 rails-671eb742eec77b5c8281ac2a2e3976ef32a6e424.zip |
Made ActiveRecord consistently use ActiveRecord::Type (not
ActiveModel::Type)
Some code was previously referring to ActiveModel::Type::*. This could
cause issues in the future if any of the ActiveRecord::Type classes were
overridden in the future.
Diffstat (limited to 'activerecord/lib/active_record/type/internal')
-rw-r--r-- | activerecord/lib/active_record/type/internal/abstract_json.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/type/internal/abstract_json.rb b/activerecord/lib/active_record/type/internal/abstract_json.rb index e19c5a14da..67028546e4 100644 --- a/activerecord/lib/active_record/type/internal/abstract_json.rb +++ b/activerecord/lib/active_record/type/internal/abstract_json.rb @@ -1,8 +1,8 @@ module ActiveRecord module Type module Internal # :nodoc: - class AbstractJson < ActiveModel::Type::Value # :nodoc: - include ActiveModel::Type::Helpers::Mutable + class AbstractJson < Type::Value # :nodoc: + include Type::Helpers::Mutable def type :json |