From d52f74480ae46cd3de7ce697093136b01c7a2172 Mon Sep 17 00:00:00 2001 From: Sean Griffin Date: Mon, 21 Sep 2015 10:20:44 -0600 Subject: [PATCH] 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. --- activerecord/lib/active_record/type.rb | 1 + 1 file changed, 1 insertion(+) 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