aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorutilum <oz@utilum.com>2016-12-08 21:46:17 +0100
committerutilum <oz@utilum.com>2016-12-08 21:46:17 +0100
commitecb6eee0d2caf882d3d68b8d3a53a25b696f2e7d (patch)
tree20fdb41f6432f877de33542aca19f3d7510b4251 /activerecord/lib
parenta0aad0381a35aebab31f5a7318c2a1644f86bbea (diff)
downloadrails-ecb6eee0d2caf882d3d68b8d3a53a25b696f2e7d.tar.gz
rails-ecb6eee0d2caf882d3d68b8d3a53a25b696f2e7d.tar.bz2
rails-ecb6eee0d2caf882d3d68b8d3a53a25b696f2e7d.zip
Fix test breaking error uninitialized constant ActiveRecord::Type::Value.
Diffstat (limited to 'activerecord/lib')
-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 fdf124283d..4f632660a8 100644
--- a/activerecord/lib/active_record/type.rb
+++ b/activerecord/lib/active_record/type.rb
@@ -59,6 +59,7 @@ module ActiveRecord
Float = ActiveModel::Type::Float
Integer = ActiveModel::Type::Integer
String = ActiveModel::Type::String
+ Value = ActiveModel::Type::Value
register(:big_integer, Type::BigInteger, override: false)
register(:binary, Type::Binary, override: false)