instiki/vendor/rails/actionpack/test/controller/fake_models.rb
Jacques Distler 5292899c9a Rails 2.1 RC1
Updated Instiki to Rails 2.1 RC1 (aka 2.0.991).
2008-05-17 23:22:34 -05:00

12 lines
146 B
Ruby

class Customer < Struct.new(:name, :id)
def to_param
id.to_s
end
end
class BadCustomer < Customer
end
class GoodCustomer < Customer
end