Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
HasManyThroughHabtm =================== This plugin allows you to have has_many :through associations with a habtm source. Example ======= class Student < ActiveRecord::Base belongs_to :school has_and_belongs_to_many :books end class Book < ActiveRecord::Base has_and_belongs_to_many :students end class School < ActiveRecord::Base has_many :students has_many :books, :through => :students, :uniq => true end Copyright (c) 2009 Jan De Poorter, released under the MIT license