class FriendlyId::ActiveRecord2::SluggedModel::CachedMultipleFinder

Performs a find a single friendly_id using the cached_slug column, if available. This is significantly faster, and can be used in all circumstances unless the :scope argument is present.

Public Instance Methods

column() click to toggle source

The column used to store the cached slug.

# File lib/friendly_id/active_record2/slugged_model.rb, line 77
def column
  "#{table_name}.#{friendly_id_config.cache_column}"
end