24 May '12, 7am

Module: ActiveRecord::Associations::ClassMethods:

Associates two classes via an intermediate join table. Unless the join table is explicitly specified as an option, it is guessed using the lexical order of the class names. So a join between Developer and Project will give the default join table name of "developers_projects" because "D" outranks "P". Note that this precedence is calculated using the < operator for String. This means that if the strings are of different lengths, and the strings are equal when compared up to the shortest length, then the longer string is considered of higher lexical precedence than the shorter one. For example, one would expect the tables "paper_boxes" and "papers" to generate a join table name of "papers_paper_boxes" because of the length of the name "paper_boxes", but it in fact generates a join table name of "paper_boxes_papers". Be aware of this caveat, and use the custom

Full article: http://ar.rubyonrails.org/classes/ActiveRecord/Associatio...

Tweets

German Solar Module Manufacturer Soltecture Fil...

solarindustrymag.com 19 May '12, 1am

, a Berlin-based manufacturer of copper indium selenide thin-film PV products, says it has filed to open insolvency procee...

Domestic Module Manufacturing: PV Globalization...

renewableenergyworld.com 17 May '12, 6pm

The fact that these facilities continue to receive government support would suggest that many policymakers remain fixated ...

Will Chinese Solar Module Tariffs Restore Balan...

renewableenergyworld.com 18 May '12, 8pm

Brinser said for an industry that has seen 50 percent drop in panel prices over the past year, the preliminary ruling is j...

Wondering if there's something higher-level tha...

apidock.com 28 May '12, 5pm

Welcome Register Projects Help About Blog APIdock release: IRON STEVE (1.4) If you have any comments, ideas or feedback, f...

The Day After: Spoke with SolarWorld and Trina ...

renewableenergyworld.com 18 May '12, 8pm

Brinser said for an industry that has seen 50 percent drop in panel prices over the past year, the preliminary ruling is j...