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
3mix-castronaut-0.5.0.2 vendor/activerecord/test/models/book.rb
ferblape-query_memcached-2.2.2 test/testing_app/app/models/book.rb
masover-castronaut-0.4.4.4 vendor/activerecord/test/models/book.rb
masover-castronaut-0.4.4.5 vendor/activerecord/test/models/book.rb
masover-castronaut-0.5.0.1 vendor/activerecord/test/models/book.rb
p8-castronaut-0.6.1.1 vendor/activerecord/test/models/book.rb
relevance-castronaut-0.4.1 vendor/activerecord/test/models/book.rb
relevance-castronaut-0.4.2 vendor/activerecord/test/models/book.rb
relevance-castronaut-0.4.3 vendor/activerecord/test/models/book.rb
relevance-castronaut-0.4.4 vendor/activerecord/test/models/book.rb
relevance-castronaut-0.4.5 vendor/activerecord/test/models/book.rb
relevance-castronaut-0.4.6 vendor/activerecord/test/models/book.rb
relevance-castronaut-0.5.0 vendor/activerecord/test/models/book.rb
relevance-castronaut-0.5.1 vendor/activerecord/test/models/book.rb
relevance-castronaut-0.5.2 vendor/activerecord/test/models/book.rb
relevance-castronaut-0.5.3 vendor/activerecord/test/models/book.rb
relevance-castronaut-0.5.4 vendor/activerecord/test/models/book.rb
relevance-castronaut-0.6.0 vendor/activerecord/test/models/book.rb
relevance-castronaut-0.6.1 vendor/activerecord/test/models/book.rb
relevance-castronaut-0.7.4 vendor/activerecord/test/models/book.rb