app/models/search.rb in blacklight-6.0.0.pre3 vs app/models/search.rb in blacklight-6.0.0.pre4

- old
+ new

@@ -1,18 +1,12 @@ -# -*- encoding : utf-8 -*- class Search < ActiveRecord::Base belongs_to :user serialize :query_params if Blacklight::Utils.needs_attr_accessible? attr_accessible :query_params - end - - unless respond_to?(:none) - # polyfill - scope :none, -> { where(id: nil).where("id IS NOT ?", nil) } end # A Search instance is considered a saved search if it has a user_id. def saved? self.user_id?