lib/query_helper.rb in query_helper-0.2.10 vs lib/query_helper.rb in query_helper-0.2.11

- old
+ new

@@ -11,10 +11,10 @@ require "query_helper/sql_sort" require "query_helper/invalid_query_error" class QueryHelper - attr_accessor :model, :bind_variables, :sql_filter, :sql_sort, :page, :per_page, :single_record, :associations, :as_json_options, :executed_query, :api_payload, :preload + attr_accessor :model, :bind_variables, :sql_filter, :sql_sort, :page, :per_page, :single_record, :associations, :as_json_options, :executed_query, :api_payload, :preload, :search_field, :search_string attr_reader :query def initialize( model: nil, # the model to run the query against query: nil, # a sql string or an active record query