Sha256: 1e8afe09652a3cd065afae9d6c515b4a2bec5f822fd25943b995602cdb5c791d

Contents?: true

Size: 269 Bytes

Versions: 12

Compression:

Stored size: 269 Bytes

Contents

class Course < ActiveRecord::Base
  has_and_belongs_to_many :students,:association_primary_key => :the_other_course_id,:association_foreign_key => :the_other_student_id,:join_table => "students_related_courses",:primary_key => :course_id,:foreign_key => :student_id
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
activerecord_bulkoperation-0.2.3 test/models/course.rb
activerecord_bulkoperation-0.2.2 test/models/course.rb
activerecord_bulkoperation-0.2.1 test/models/course.rb
activerecord_bulkoperation-0.2.0 test/models/course.rb
activerecord_bulkoperation-0.1.0 test/models/course.rb
activerecord_bulkoperation-0.0.8 test/models/course.rb
activerecord_bulkoperation-0.0.7 test/models/course.rb
activerecord_bulkoperation-0.0.6 test/models/course.rb
activerecord_bulkoperation-0.0.5 test/models/course.rb
activerecord_bulkoperation-0.0.4 test/models/course.rb
activerecord_bulkoperation-0.0.3 test/models/course.rb
activerecord_bulkoperation-0.0.2 test/models/course.rb