mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix the variable scoping issue I introduced in 007e50d8e5
This commit is contained in:
parent
a0a37d9fd3
commit
dcb364ec8e
1 changed files with 2 additions and 2 deletions
|
@ -214,11 +214,11 @@ module ActiveRecord
|
|||
stmt.bind_params(type_casted_binds)
|
||||
records = stmt.to_a
|
||||
end
|
||||
end
|
||||
|
||||
ActiveRecord::Result.new(cols, records)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
def exec_delete(sql, name = "SQL", binds = [])
|
||||
exec_query(sql, name, binds)
|
||||
|
|
Loading…
Reference in a new issue