We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Case:
Say you have this classes:
class User < ActiveRecord::Base extend FriendlyId friendly_id :name, :use => [:slugged, :finders] end class SpecificUser < User end
In order to find by slug:
specific_user = SpecificUser.find "jon-snow"
We need to explicitly define the use of friendly_id finder plugin inside SpecificUser
SpecificUser
class SpecificUser < User friendly_id :name, :use => [:finders] end
This is because each class has its own Friendly_id configuration and is not inherited.