lib/pg_search/features/feature.rb in pg_search-2.0.1 vs lib/pg_search/features/feature.rb in pg_search-2.1.0
- old
+ new
@@ -3,10 +3,10 @@
module PgSearch
module Features
class Feature
def self.valid_options
- [:only, :sort_only]
+ %i[only sort_only]
end
delegate :connection, :quoted_table_name, :to => :'@model'
def initialize(query, options, all_columns, model, normalizer)