Skip to content

Commit

Permalink
Don't ignore options to create result set
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Dec 23, 2014
1 parent 8e6ef58 commit fa78b8d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/active_groonga/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@ def select(options={})
records = table.select do |record|
yield(record)
end
create_result_set(records, :expression => records.expression)
create_result_set(records,
options.merge(:expression => records.expression))
end

def all(options={})
Expand Down

0 comments on commit fa78b8d

Please sign in to comment.