lib/discerner/methods/models/search_combination.rb in discerner-1.2.2 vs lib/discerner/methods/models/search_combination.rb in discerner-2.0.0

- old
+ new

@@ -15,12 +15,9 @@ base.send(:scope, :ordered_by_display_order, -> { base.order('discerner_search_combinations.display_order ASC') }) # Validations base.send :validates_presence_of, :search, :combined_search base.send :validate, :validate_searches - - # Whitelisting attributes - base.send :attr_accessible, :combined_search_id, :display_order, :operator_id, :search_id, :search, :combined_search end # Instance Methods def initialize(*args) super(*args) \ No newline at end of file