diff options
author | Sean Griffin <sean@thoughtbot.com> | 2014-06-06 17:33:13 -0600 |
---|---|---|
committer | Sean Griffin <sean@thoughtbot.com> | 2014-06-06 17:35:00 -0600 |
commit | 8a6e7631d31b2261f5a9dc6f0adefbe3e72f79d5 (patch) | |
tree | 551b32d12e4c252d901db3686ba9873c932be956 /activerecord/lib/active_record/type/float.rb | |
parent | 17fc6f16eb2be481a4d036bea58b3e4ae0052f3a (diff) | |
download | rails-8a6e7631d31b2261f5a9dc6f0adefbe3e72f79d5.tar.gz rails-8a6e7631d31b2261f5a9dc6f0adefbe3e72f79d5.tar.bz2 rails-8a6e7631d31b2261f5a9dc6f0adefbe3e72f79d5.zip |
Removed unused `klass` definitions from types
Only `Date` and `Time` are handled.
Diffstat (limited to 'activerecord/lib/active_record/type/float.rb')
-rw-r--r-- | activerecord/lib/active_record/type/float.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/activerecord/lib/active_record/type/float.rb b/activerecord/lib/active_record/type/float.rb index dc50dae328..42eb44b9a9 100644 --- a/activerecord/lib/active_record/type/float.rb +++ b/activerecord/lib/active_record/type/float.rb @@ -7,10 +7,6 @@ module ActiveRecord :float end - def klass - ::Float - end - alias type_cast_for_database type_cast private |