Sha256: 3c8feadd39ae612630154d09228b5f3b5351a7908a53a49a5f869256a90a02f9

Contents?: true

Size: 250 Bytes

Versions: 78

Compression:

Stored size: 250 Bytes

Contents

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

class BadCustomer < Customer
end

class GoodCustomer < Customer
end

module Quiz
  class Question < Struct.new(:name, :id)
    def to_param
      id.to_s
    end
  end
end

Version data entries

78 entries across 77 versions & 18 rubygems

Version Path
elkinsware-erubis_rails_helper-0.6.0 test/controller/fake_models.rb
elkinsware-erubis_rails_helper-0.6.1 test/controller/fake_models.rb
elkinsware-erubis_rails_helper-0.9.0 test/controller/fake_models.rb
elkinsware-erubis_rails_helper-0.9.1 test/controller/fake_models.rb
elkinsware-erubis_rails_helper-0.9.5 test/controller/fake_models.rb
ghazel-erubis_rails_helper-0.9.5 test/controller/fake_models.rb
actionpack-2.3.18 test/controller/fake_models.rb
actionpack_csi-2.3.5.p8 test/controller/fake_models.rb
actionpack-2.3.17-rack-upgrade-2.3.17 test/controller/fake_models.rb
actionpack-2.3.17 test/controller/fake_models.rb
actionpack_csi-2.3.5.p7 test/controller/fake_models.rb
actionpack_csi-2.3.5.p6 test/controller/fake_models.rb
actionpack-2.3.16 test/controller/fake_models.rb
actionpack-rack-upgrade-2-2.3.16 test/controller/fake_models.rb
actionpack-rack-upgrade-2-2.3.15 test/controller/fake_models.rb
actionpack-2.3.15 test/controller/fake_models.rb
actionpack-rack-upgrade-2.3.16 test/controller/fake_models.rb
actionpack-rack-upgrade-2.3.15 test/controller/fake_models.rb
actionpack-rack-upgrade-2.3.14 test/controller/fake_models.rb
radiant-1.0.0 ruby-debug/ruby/1.8/gems/actionpack-2.3.14/test/controller/fake_models.rb