module FriendlyId::Test::ActiveRecord2::Simple::SimpleTest

Public Instance Methods

instance() click to toggle source
# File test/active_record2/simple_test.rb, line 13
def instance
  @instance ||= User.create! :name => "hello world"
end
klass() click to toggle source
# File test/active_record2/simple_test.rb, line 9
def klass
  @klass ||= User
end
other_class() click to toggle source
# File test/active_record2/simple_test.rb, line 17
def other_class
  Author
end