10 Apr '13, 11pm

@metaskills @saturnflyer that happens because the autosave option on the association is set to true by default

Specifies a many-to-many relationship with another class. This 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_pape...

Full article: http://api.rubyonrails.org/classes/ActiveRecord/Associati...

Tweets

Window films: an overlooked retrofit option? @I...

buildinggreen.com 11 Apr '13, 2pm

In mild climates, window film pays for itself faster than more popular retrofits, an industry report argues. By Paula Melt...

Heyzap adds option to pay game developers with ...

mukpin.com 09 Apr '13, 7am

if you’re a game developer and you want to make some coin — bitcoin that is — you’re in luck. heyzap, which makes ...

A true Malay warrior: It is an open secret amongst so many of Johor political analysts and observers that Stat...

A true Malay warrior: It is an open secret amon...

bigdogdotcom.wordpress.com 06 Apr '13, 10am

Dato’ Abdul Ghani Othman, DK Johor It is an open secret amongst so many of Johor political analysts and observers that Sta...

Study! Here's what happens when you run really, really long:

Study! Here's what happens when you run really,...

runnersworldonline.com.au 07 Apr '13, 10am

Some bodily processes stabilise after eight hours By Scott Douglas There are long runs, and then there are long runs. A ne...

Minicab controller wins £5,000 for unfair sacki...

A FORMER employee of a Henley minicab company has won an employment tribunal. Paul Martin claimed he was unfairly dismisse...

#Job Planning to set up business in Singapore (...

freelancer.com 06 Apr '13, 6am

I'm looking to set up business in Singapore. Have limited budget (discuss with right person only). Give your ideas, detail...

Heyzap (W09) adds option to pay game developers...

venturebeat.com 07 Apr '13, 8pm

If you’re a game developer and you want to make some coin — Bitcoin that is — you’re in luck. Heyzap, which makes tools to...

Heyzap adds option to pay game developers with ...

venturebeat.com 07 Apr '13, 5pm

If you’re a game developer and you want to make some coin — Bitcoin that is — you’re in luck. Heyzap, which makes tools to...