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
activerecord-2.3.11 test/models/citation.rb
radiantcms-couchrest_model-0.2.4 vendor/rails/activerecord/test/models/citation.rb
ensured_schema-0.1.6 test/models/citation.rb
ensured_schema-0.1.5 test/models/citation.rb
ensured_schema-0.1.4 test/models/citation.rb
ensured_schema-0.1.3 test/models/citation.rb
ensured_schema-0.1.2 test/models/citation.rb
ensured_schema-0.1.1 test/models/citation.rb
ensured_schema-0.1.0 test/models/citation.rb
radiantcms-couchrest_model-0.2.2 vendor/rails/activerecord/test/models/citation.rb
radiantcms-couchrest_model-0.2.1 vendor/rails/activerecord/test/models/citation.rb
radiantcms-couchrest_model-0.2 vendor/rails/activerecord/test/models/citation.rb
radiantcms-couchrest_model-0.1.9 vendor/rails/activerecord/test/models/citation.rb
radiantcms-couchrest_model-0.1.8 vendor/rails/activerecord/test/models/citation.rb
radiantcms-couchrest_model-0.1.7 vendor/rails/activerecord/test/models/citation.rb
radiantcms-couchrest_model-0.1.6 vendor/rails/activerecord/test/models/citation.rb
radiantcms-couchrest_model-0.1.5 vendor/rails/activerecord/test/models/citation.rb
radiantcms-couchrest_model-0.1.4 vendor/rails/activerecord/test/models/citation.rb
radiantcms-couchrest_model-0.1.3 vendor/rails/activerecord/test/models/citation.rb
radiantcms-couchrest_model-0.1.2 vendor/rails/activerecord/test/models/citation.rb