aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/fake_models.rb
blob: 2761b09f2f00d110b79c49a3a9f7a1567d5fc624 (plain) (blame)
1
2
3
4
5
class Customer < Struct.new(:name, :id)
  def to_param
    id.to_s
  end
end