Sha256: d182e2c7ee06632a8d20b8313c6cb99131f811abbd15cbed136ffcd98e3ad12c

Contents?: true

Size: 146 Bytes

Versions: 15

Compression:

Stored size: 146 Bytes

Contents

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

class BadCustomer < Customer
end

class GoodCustomer < Customer
end

Version data entries

15 entries across 14 versions & 6 rubygems

Version Path
radiant-0.7.2 vendor/rails/actionpack/test/controller/fake_models.rb
vibes-bj-1.2.2 spec/rails_root/vendor/rails/actionpack/test/controller/fake_models.rb
vibes-bj-1.2.1 spec/rails_root/vendor/rails/actionpack/test/controller/fake_models.rb
usher-0.7.0 spec/rails2_2/vendor/rails/vendor/rails/actionpack/pkg/actionpack-2.2.2/test/controller/fake_models.rb
usher-0.7.0 spec/rails2_2/vendor/rails/vendor/rails/actionpack/test/controller/fake_models.rb
actionpack-2.2.3 test/controller/fake_models.rb
actionpack-2.1.0 test/controller/fake_models.rb
actionpack-2.2.2 test/controller/fake_models.rb
actionpack-2.1.2 test/controller/fake_models.rb
actionpack-2.1.1 test/controller/fake_models.rb
antfarm-0.3.0 rails/vendor/rails/actionpack/test/controller/fake_models.rb
antfarm-0.4.0 rails/vendor/rails/actionpack/test/controller/fake_models.rb
eactionpack-2.1.2 test/controller/fake_models.rb
radiant-0.7.0 vendor/rails/actionpack/test/controller/fake_models.rb
radiant-0.7.1 vendor/rails/actionpack/test/controller/fake_models.rb