Is your plugin hosted on GitHub? Make sure to press the "fetch" button next to the repository field to fetch your plugin's info from GitHub rather than typing it all in.
Repository
Name
Home Page
Short description Makes it possible to define has_many :through associations that go through other has_many :through associations, allowing them to span any number of tables.
Description This plugin makes it possible to define has_many :through relationships that go through other has_many :through relationships, possibly through an arbitrarily deep hierarchy. This allows associations across any number of tables to be constructed, without having to resort to find_by_sql (which isn't a suitable solution if you need to do eager loading through :include as well). It is hoped that this feature will in time be applied to the Rails core, after which this plugin will become unnecessary. See: http://dev.rubyonrails.org/ticket/6461 Example ------- class Pub < ActiveRecord::Base belongs_to :city end class City < ActiveRecord::Base belongs_to :country has_many :pubs end class Country < ActiveRecord::Base belongs_to :planet has_many :cities has_many :pubs, :through => cities end class Planet < ActiveRecord::Base belongs_to :star_system has_many :countries has_many :cities, :through => :countries # Now we go through a has_many :through association - # something that wasn't previously possible has_many :pubs, :through => :cities end class StarSystem < ActiveRecord::Base has_many :planets has_many :countries, :through => :planets # We can also use a has_many :through association for the source # association; in this case, Country#pubs has_many :pubs, :through => countries end
Description format RDoc MarkDown Textile
License Ruby's Rails' (MIT) GPL LGPL BSD Apache Artistic PublicDomain BSD-type Free-Trial Free-but-Restricted OpenSource Proprietary Shareware Source-available-proprietary Commercial
Category Assets Controllers Internationalization Misc. Enhancements Model Rails Engines Searching and Queries Security Statistics and Logs Testing View Extensions