Skip to content

Commit

Permalink
Merge pull request rsim#321 from kubo/master
Browse files Browse the repository at this point in the history
Fix rsim#320 'wrong number of arguments calling `bind_param` (2 for 3)' caused by rsim#311
  • Loading branch information
yahonda committed Aug 26, 2013
2 parents f91dc42 + 77b763d commit f898c7a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -309,7 +309,7 @@ def initialize(connection, raw_statement)
@raw_statement = raw_statement
end

def bind_param(position, value, column)
def bind_param(position, value, column = nil)
col_type = column && column.type
java_value = ruby_to_java_value(value, col_type)
case value
Expand Down

0 comments on commit f898c7a

Please sign in to comment.