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



136
137
138
139
140
141
142
# File 'lib/friendly_id/active_record_adapter/relation.rb', line 136

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