mirror of
https://github.com/github/rails.git
synced 2026-01-30 08:48:06 -05:00
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7190 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
6 lines
77 B
Ruby
6 lines
77 B
Ruby
class Customer < Struct.new(:name, :id)
|
|
def to_param
|
|
id.to_s
|
|
end
|
|
end
|