> I am getting 'MySQL gone away'
> error while creating a new object of this subclass.

Refactor the common code between your tabled and table-less *models into a 
module, and let both models include that module.

*yes, it's still a model, even if it has no DB persistence.

-- 
   Phlip
   http://flea.sourceforge.net/resume.html


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to