diff options
author | Sean Griffin <sean@thoughtbot.com> | 2015-01-01 09:51:32 -0700 |
---|---|---|
committer | Sean Griffin <sean@thoughtbot.com> | 2015-01-01 09:51:48 -0700 |
commit | 03f6e235a32b4ba540db11586b66416e780bc3d7 (patch) | |
tree | a00ca0da76901bca1ba961763f2a890b1d94822a /activerecord/lib | |
parent | cab75da939399e80ee20faf15419f3ae30f2d28e (diff) | |
download | rails-03f6e235a32b4ba540db11586b66416e780bc3d7.tar.gz rails-03f6e235a32b4ba540db11586b66416e780bc3d7.tar.bz2 rails-03f6e235a32b4ba540db11586b66416e780bc3d7.zip |
💣 I forgot to commit the arity change
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/quoting.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/quoting.rb b/activerecord/lib/active_record/connection_adapters/abstract/quoting.rb index 679878d860..143d7d9574 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/quoting.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/quoting.rb @@ -19,7 +19,7 @@ module ActiveRecord # Cast a +value+ to a type that the database understands. For example, # SQLite does not understand dates, so this method will convert a Date # to a String. - def type_cast(value, column) + def type_cast(value, column = nil) if value.respond_to?(:quoted_id) && value.respond_to?(:id) return value.id end |