18 Feb '12, 3am

@nzkoz Thanks. So this is where I should have been looking, and is correct:

Returns an instance of the specified klass with the attributes of the current record. This is mostly useful in relation to single-table inheritance structures where you want a subclass to appear as the superclass. This can be used along with record identification in Action Pack to allow, say, Client < Company to do something like render :partial => @client.becomes(Company) to render that instance using the companies/company partial instead of clients/client. Note: The new instance will share a link to the same attributes as the original class. So any change to the attributes in either instance will affect the other.

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

Tweets

Rolex Forums Latest Looking for my first Omega:...

rolexforums.com 18 Feb '12, 4am

Hello... I am looking to get a new Seamaster Planet Ocean. I just watched Quantum of solace and it pushed me over the edge...

Looking good: Specially formulated with Neutrog...

todayonline.com 17 Feb '12, 9pm

Neutrogena Hydro Boost Night Concentrate Get the most out of a good night's sleep with Neutrogena Hydro Boost Night Concen...

Kruger takes one-shot lead at Avantha Masters thanks to two eagles @xtgolf

Kruger takes one-shot lead at Avantha Masters t...

pga.com 18 Feb '12, 5pm

NEW DELHI, India -- Jbe Kruger of South Africa shot a 6-under 66 in the third round of the Avantha Masters to take a one-s...

Looking for PHP Programmer to tweak Opencart - ...

freelancezone.com.sg 11 Feb '12, 6am

I am a freelance Web Consultant, specialising in Project Management, Online Media Marketing and Web Content Management Sys...

GBE is Looking for a Few Good Subscribers @gbelements

GBE is Looking for a Few Good Subscribers @gbel...

greenbuildingelements.com 13 Feb '12, 4pm

A writer, producer and director, Meyers is editor and site director of Green Building Elements, a contributor to Clean Tec...

Marital rape is not criminalised in Singapore. ...

straitstimes.com 15 Feb '12, 2am

Law Minister K. Shanmugam said in Parliament on Tuesday that he found the arguments for criminalising marital rape worth l...

Time to correct those misconceptions about skin care... Thanks to Porcelain, The Face Spa...

Time to correct those misconceptions about skin...

cheryl-tay.com 14 Feb '12, 5pm

SKIN CARE MYTH 1: Expensive skin care products work best. This is absolutely not true. In fact, there are many mass market...

Amazing National Geographic photos show dried u...

ecorazzi.com 13 Feb '12, 8pm

This stunning set of photos comes courtesy of National Geographic via photographer Adriana Franco. While thoughts of a tre...

Cheaper inflight SMS may take off soon, thanks ...

straitstimes.com 12 Feb '12, 11pm

Exchanging SMSes from a plane with your darling Valentine will cost just a few cents instead of several dollars now, if a ...

Thanks, Trader Joe's, for Signing on to Fair Food | Care2 Causes

Thanks, Trader Joe's, for Signing on to Fair Fo...

care2.com 10 Feb '12, 5am

In a step forward, grocery chain Trader Joe’s today signed the Fair Food agreement with the Coalition of Immokalee Workers...

SGFLEAMARKET - thanks mods: Sick of the typical...

sgflea.livejournal.com 05 Feb '12, 10am

NEW:LB loafers, LB thistle bar wedges, LB elliot skater dress, CWC skater dress, TCL lace oriental dress, TTR scoop back d...

Sugarand(&)Spiced. Thanks mod!

sgflea.livejournal.com 10 Feb '12, 3pm

SGFLEAMARKET - ♥ Sugarand(&)Spiced. Thanks mod! Recent Entries Members Archive User Info Links RULES OF SGFLEA MOD POSTS F...

WATCH: 13-Year-Old With Progeria Thanks Selena Gomez

WATCH: 13-Year-Old With Progeria Thanks Selena ...

ecorazzi.com 07 Feb '12, 6pm

, who contacted the singer directly after hearing Hana’s story, Gomez was able to visit the Los Angeles Children’s Hospita...

Sugarand(&)Spiced! Thanks mod!

sgflea.livejournal.com 09 Feb '12, 5pm

SGFLEAMARKET - ♥ Sugarand(&)Spiced! Thanks mod! Recent Entries Members Archive User Info Links RULES OF SGFLEA MOD POSTS F...

thanks mod!

thanks mod!

sgflea.livejournal.com 06 Feb '12, 4pm

Recent Entries Members Archive User Info Links RULES OF SGFLEA MOD POSTS FAQ REPORT OFFENDERS REPORT DEAD BUYERS / SELLERS...