Sha256: 173aa4dfcd41e6b2d1455309b4192253a3d2a144d16a857362b5e8b649a4316c

Contents?: true

Size: 174 Bytes

Versions: 123

Compression:

Stored size: 174 Bytes

Contents

class Book < ActiveRecord::Base
  has_many :citations, :foreign_key => 'book1_id'
  has_many :references, :through => :citations, :source => :reference_of, :uniq => true
end

Version data entries

123 entries across 120 versions & 23 rubygems

Version Path
simply_stated-0.0.4 vendor/gems/ruby/1.8/gems/activerecord-2.3.5/test/models/book.rb
factorylabs-castronaut-0.7.5 vendor/activerecord/test/models/book.rb
ginst-2009.12.8 vendor/rails/activerecord/test/models/book.rb
activerecord-2.3.5 test/models/book.rb
ginst-2009.11.24 vendor/rails/activerecord/test/models/book.rb
ginst-2009.11.23 vendor/rails/activerecord/test/models/book.rb
ginst-2.0.1 vendor/rails/activerecord/test/models/book.rb
ginst-2.0.0 vendor/rails/activerecord/test/models/book.rb
gemstreamer-1.2.0 spec/assets/testapp/vendor/rails/activerecord/test/models/book.rb
gemstreamer-1.1.1 spec/assets/testapp/vendor/rails/activerecord/test/models/book.rb
gemstreamer-1.1.0 spec/assets/testapp/vendor/rails/activerecord/test/models/book.rb
gemstreamer-1.0.0 spec/assets/testapp/vendor/rails/activerecord/test/models/book.rb
gemstreamer-0.0.0 spec/assets/testapp/vendor/rails/activerecord/test/models/book.rb
radiant-rc-0.9.0 vendor/rails/activerecord/test/models/book.rb
activerecord-2.2.3 test/models/book.rb
webroar-0.2.2 src/admin_panel/vendor/rails/activerecord/test/models/book.rb
radiant-0.8.1 vendor/rails/activerecord/test/models/book.rb
activerecord-2.3.4 test/models/book.rb
activerecord-2.3.3 test/models/book.rb
activerecord-1.15.6 test/fixtures/book.rb