Sha256: b837f90a017cd302f439fc0654c9252b70d23fd6be2693d5915b92f84aa910cb

Contents?: true

Size: 258 Bytes

Versions: 127

Compression:

Stored size: 258 Bytes

Contents

class Citation < ActiveRecord::Base
  belongs_to :reference_of, :class_name => "Book", :foreign_key => :book2_id

  belongs_to :book1, :class_name => "Book", :foreign_key => :book1_id
  belongs_to :book2, :class_name => "Book", :foreign_key => :book2_id
end

Version data entries

127 entries across 124 versions & 24 rubygems

Version Path
3mix-castronaut-0.5.0.2 vendor/activerecord/test/models/citation.rb
ferblape-query_memcached-2.2.2 test/testing_app/app/models/citation.rb
masover-castronaut-0.4.4.4 vendor/activerecord/test/models/citation.rb
masover-castronaut-0.4.4.5 vendor/activerecord/test/models/citation.rb
masover-castronaut-0.5.0.1 vendor/activerecord/test/models/citation.rb
p8-castronaut-0.6.1.1 vendor/activerecord/test/models/citation.rb
relevance-castronaut-0.4.1 vendor/activerecord/test/models/citation.rb
relevance-castronaut-0.4.2 vendor/activerecord/test/models/citation.rb
relevance-castronaut-0.4.3 vendor/activerecord/test/models/citation.rb
relevance-castronaut-0.4.4 vendor/activerecord/test/models/citation.rb
relevance-castronaut-0.4.5 vendor/activerecord/test/models/citation.rb
relevance-castronaut-0.4.6 vendor/activerecord/test/models/citation.rb
relevance-castronaut-0.5.0 vendor/activerecord/test/models/citation.rb
relevance-castronaut-0.5.1 vendor/activerecord/test/models/citation.rb
relevance-castronaut-0.5.2 vendor/activerecord/test/models/citation.rb
relevance-castronaut-0.5.3 vendor/activerecord/test/models/citation.rb
relevance-castronaut-0.5.4 vendor/activerecord/test/models/citation.rb
relevance-castronaut-0.6.0 vendor/activerecord/test/models/citation.rb
relevance-castronaut-0.6.1 vendor/activerecord/test/models/citation.rb
relevance-castronaut-0.7.4 vendor/activerecord/test/models/citation.rb