Sha256: d6c751bd04e133b9356c89f8cbeeaa1ed31464c3728d6f7081fa1e0d558d9f61

Contents?: true

Size: 275 Bytes

Versions: 12

Compression:

Stored size: 275 Bytes

Contents

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

Version data entries

12 entries across 12 versions & 1 rubygems

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