Skip to content

Commit

Permalink
remove use of internal method
Browse files Browse the repository at this point in the history
  • Loading branch information
jbender committed Feb 20, 2019
1 parent f6332c5 commit e563ec8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/odbc_adapter/database_statements.rb
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def nullability(col_name, is_nullable, nullable)
end

def prepared_binds(binds)
prepare_binds_for_database(binds).map { |bind| _type_cast(bind) }
binds.map(&:value_for_database).map { |bind| _type_cast(bind) }
end
end
end

0 comments on commit e563ec8

Please sign in to comment.