Skip to content
Browse files

Fix typo

  • Loading branch information...
1 parent 7e91c9a commit 1a838ccda4a31bb023985f6c977e6bc3e238cda9 @rafaelfranca rafaelfranca committed Mar 25, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/connection_adapters/postgresql/quoting.rb
View
2 activerecord/lib/active_record/connection_adapters/postgresql/quoting.rb
@@ -103,7 +103,7 @@ def type_cast(value, column, array_member = false)
PostgreSQLColumn.array_to_string(value, column, self)
end
when String
- return super(value, column) unless 'bytea' == couln.sql_type
+ return super(value, column) unless 'bytea' == column.sql_type
{ :value => value, :format => 1 }
when Hash
case column.sql_type

0 comments on commit 1a838cc

Please sign in to comment.
Something went wrong with that request. Please try again.