class FriendlyId::Test::ActiveRecord2::CachedSlugTest

Public Instance Methods

cache_column() click to toggle source
# File test/active_record2/cached_slug_test.rb, line 26
def cache_column
  klass.friendly_id_config.cache_column
end
cached_slug() click to toggle source
# File test/active_record2/cached_slug_test.rb, line 22
def cached_slug
  instance.send(cache_column)
end
klass() click to toggle source
# File test/active_record2/cached_slug_test.rb, line 14
def klass
  District
end
other_class() click to toggle source
# File test/active_record2/cached_slug_test.rb, line 18
def other_class
  Post
end