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/binary.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/binary.rb')
-rw-r--r-- | activerecord/lib/active_record/type/binary.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/activerecord/lib/active_record/type/binary.rb b/activerecord/lib/active_record/type/binary.rb index 9d10c91fc1..bc93f6e1bf 100644 --- a/activerecord/lib/active_record/type/binary.rb +++ b/activerecord/lib/active_record/type/binary.rb @@ -9,10 +9,6 @@ module ActiveRecord true end - def klass - ::String - end - def type_cast_for_database(value) Data.new(super) end |