diff options
author | Sean Griffin <sean@thoughtbot.com> | 2015-01-27 13:08:00 -0700 |
---|---|---|
committer | Sean Griffin <sean@thoughtbot.com> | 2015-01-27 13:08:07 -0700 |
commit | 3a551b9777e7bb16caa3bba63c2412d450126f5f (patch) | |
tree | 5d06cf510af0abc93fe1a2a731f47d52f6cfbc32 /activerecord | |
parent | 6c235dd95812a7c4e8123b6d34d6f3433805ee1c (diff) | |
download | rails-3a551b9777e7bb16caa3bba63c2412d450126f5f.tar.gz rails-3a551b9777e7bb16caa3bba63c2412d450126f5f.tar.bz2 rails-3a551b9777e7bb16caa3bba63c2412d450126f5f.zip |
All subclasses of `Attribute` should be private constants
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/attribute.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/attribute.rb b/activerecord/lib/active_record/attribute.rb index 73bb059495..eadc17035e 100644 --- a/activerecord/lib/active_record/attribute.rb +++ b/activerecord/lib/active_record/attribute.rb @@ -156,6 +156,6 @@ module ActiveRecord false end end - private_constant :FromDatabase, :FromUser, :Null, :Uninitialized + private_constant :FromDatabase, :FromUser, :Null, :Uninitialized, :WithCastValue end end |