module FriendlyId::Test::ActiveRecord2::Slugged

Public Instance Methods

instance() click to toggle source
# File test/active_record2/slugged.rb, line 22
def instance
  @instance ||= klass.create! :name => "hello world"
end
klass() click to toggle source
# File test/active_record2/slugged.rb, line 14
def klass
  Post
end
other_class() click to toggle source
# File test/active_record2/slugged.rb, line 18
def other_class
  District
end