Skip to content

Commit

Permalink
Remove unused var
Browse files Browse the repository at this point in the history
  • Loading branch information
ryankopf committed Aug 18, 2023
1 parent f32e32c commit baac065
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/acts_as_indexed/class_methods.rb
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ def search_index(query, find_options={}, options={})

# New 2023 way to find the records.
conditions = ["#{table_name}.#{primary_key} IN (?)", part_query]
query_options = find_options.slice(:limit, :offset, :order)
records = where(conditions)

if find_options[:conditions]
Expand Down

0 comments on commit baac065

Please sign in to comment.