Sha256: 02fc0a6a9244e0129af866222cbf0095f3b7ec57fd3b479fb3eacf1cc49cfb86

Contents?: true

Size: 157 Bytes

Versions: 69

Compression:

Stored size: 157 Bytes

Contents

class Toy < ActiveRecord::Base
  set_primary_key :toy_id
  belongs_to :pet

  named_scope :with_name, lambda { |name| {:conditions => {:name => name}} }
end

Version data entries

69 entries across 68 versions & 13 rubygems

Version Path
gemstreamer-1.2.0 spec/assets/testapp/vendor/rails/activerecord/test/models/toy.rb
gemstreamer-1.1.1 spec/assets/testapp/vendor/rails/activerecord/test/models/toy.rb
gemstreamer-1.1.0 spec/assets/testapp/vendor/rails/activerecord/test/models/toy.rb
gemstreamer-1.0.0 spec/assets/testapp/vendor/rails/activerecord/test/models/toy.rb
gemstreamer-0.0.0 spec/assets/testapp/vendor/rails/activerecord/test/models/toy.rb
radiant-rc-0.9.0 vendor/rails/activerecord/test/models/toy.rb
radiant-0.8.1 vendor/rails/activerecord/test/models/toy.rb
activerecord-2.3.4 test/models/toy.rb
activerecord-2.3.3 test/models/toy.rb