aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/type.rb
diff options
context:
space:
mode:
authorSean Griffin <sean@seantheprogrammer.com>2015-09-21 10:20:44 -0600
committerSean Griffin <sean@seantheprogrammer.com>2015-09-21 10:20:44 -0600
commitd52f74480ae46cd3de7ce697093136b01c7a2172 (patch)
treea52f5631331e3a0deec714470d41fd30147130c2 /activerecord/lib/active_record/type.rb
parent0e681c9f49c02221c009163503aaac802ac04020 (diff)
downloadrails-d52f74480ae46cd3de7ce697093136b01c7a2172.tar.gz
rails-d52f74480ae46cd3de7ce697093136b01c7a2172.tar.bz2
rails-d52f74480ae46cd3de7ce697093136b01c7a2172.zip
We still need the `Helpers` constant in the `ActiveRecord` namespace
We should probably review the usage of these constants and decide whether we want to be more transparent about which things come from Active Model vs Active Record, as this is meaningful information as to whether there is database specific behavior or not.
Diffstat (limited to 'activerecord/lib/active_record/type.rb')
-rw-r--r--activerecord/lib/active_record/type.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/type.rb b/activerecord/lib/active_record/type.rb
index 28ab07e868..74dfe88349 100644
--- a/activerecord/lib/active_record/type.rb
+++ b/activerecord/lib/active_record/type.rb
@@ -44,6 +44,7 @@ module ActiveRecord
end
end
+ Helpers = ActiveModel::Type::Helpers
BigInteger = ActiveModel::Type::BigInteger
Binary = ActiveModel::Type::Binary
Boolean = ActiveModel::Type::Boolean