Class FriendlyId::Status
In: lib/friendly_id/status.rb
Parent: Object

FriendlyId::Status presents information about the status of the id that was used to find the model. This class can be useful for figuring out when to redirect to a new URL.

Methods

best?   friendly?   new   numeric?  

Attributes

name  [RW]  The id or name used as the finder argument
record  [RW]  The found result, if any

Public Class methods

Public Instance methods

Did the find operation use the best available id?

Did the find operation use a friendly id?

Did the find operation use a numeric id?

[Validate]