Skip to content

Commit 3901d86

Browse files
etehtseakares
authored andcommitted
Fix rails 4-0-stable compatibility
1 parent 6204789 commit 3901d86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/arjdbc/jdbc/adapter.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -507,8 +507,8 @@ def exec_query_raw(sql, name = 'SQL', binds = [], &block)
507507

508508
# @private
509509
# @override
510-
def select_rows(sql, name = nil)
511-
exec_query_raw(sql, name).map!(&:values)
510+
def select_rows(sql, name = nil, binds = [])
511+
exec_query_raw(sql, name, binds).map!(&:values)
512512
end
513513

514514
if ActiveRecord::VERSION::MAJOR > 3 # expects AR::Result e.g. from select_all

0 commit comments

Comments
 (0)