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