module FriendlyId::Finders::Single

Public Instance Methods

friendly?() click to toggle source

Is the id definitely friendly? @see Finder::friendly?

# File lib/friendly_id/finders.rb, line 77
def friendly?
  Base.friendly?(id)
end
unfriendly?() click to toggle source

Is the id definitely unfriendly? @see Finder::unfriendly?

# File lib/friendly_id/finders.rb, line 83
def unfriendly?
  Base.unfriendly?(id)
end