Fix the variable scoping issue I introduced in 007e50d8e5

This commit is contained in:
Matthew Draper 2016-10-28 16:33:21 -05:00
parent a0a37d9fd3
commit dcb364ec8e
1 changed files with 2 additions and 2 deletions

View File

@ -214,9 +214,9 @@ module ActiveRecord
stmt.bind_params(type_casted_binds)
records = stmt.to_a
end
end
ActiveRecord::Result.new(cols, records)
ActiveRecord::Result.new(cols, records)
end
end
end