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
radiantcms-couchrest_model-0.1.1 vendor/rails/activerecord/test/models/citation.rb
radiantcms-couchrest_model-0.1 vendor/rails/activerecord/test/models/citation.rb
radiant-0.7.2 vendor/rails/activerecord/test/models/citation.rb
activerecord-2.3.10 test/models/citation.rb
activerecord-2.3.9 test/models/citation.rb
activerecord-2.3.9.pre test/models/citation.rb
vibes-bj-1.2.2 spec/rails_root/vendor/rails/activerecord/test/models/citation.rb
vibes-bj-1.2.1 spec/rails_root/vendor/rails/activerecord/test/models/citation.rb
webroar-0.4.0 src/admin_panel/vendor/rails/activerecord/test/models/citation.rb
nbudin-castronaut-0.7.5 vendor/activerecord/test/models/citation.rb
radiant-0.9.1 vendor/rails/activerecord/test/models/citation.rb
activerecord-2.3.8 test/models/citation.rb
activerecord-2.3.8.pre1 test/models/citation.rb
activerecord-2.3.7 test/models/citation.rb
activerecord-2.3.6 test/models/citation.rb
radiant-0.8.2 vendor/rails/activerecord/test/models/citation.rb
radiant-0.9.0.rc2 vendor/rails/activerecord/test/models/citation.rb
webroar-0.3.1 src/admin_panel/vendor/rails/activerecord/test/models/citation.rb
webroar-0.3.0 src/admin_panel/vendor/rails/activerecord/test/models/citation.rb
usher-0.7.0 spec/rails2_3/vendor/rails/vendor/rails/activerecord/pkg/activerecord-2.3.3/test/models/citation.rb