Module: FriendlyId::ActiveRecordAdapter::Relation

Included in:
ActiveRecord::Relation
Defined in:
lib/friendly_id/active_record_adapter/relation.rb

Defined Under Namespace

Classes: Find

Instance Method Summary collapse

Instance Method Details

#apply_finder_options(options) ⇒ Object



149
150
151
152
153
154
155
# File 'lib/friendly_id/active_record_adapter/relation.rb', line 149

def apply_finder_options(options)
  if options[:scope]
    raise "The :scope finder option has been removed from FriendlyId 3.2.0 " +
      "https://github.com/norman/friendly_id/issues#issue/88"
  end
  super
end