On Jul 24, 2012, at 1:15 AM, Guyren Howe wrote: > I’ve a situation where I find a record by ID that’s a child in a Single Table > Inheritance relationship, and the object I get, although it is_a? <own > class>, it fails is_a? <parent class> and won’t me call any of the instance > methods on the parent class. > > This is in 3.1. I’ve found mention of this happening in 3.0, but the fixes > suggested there don’t help.
My app uses a lot of STI. It now runs latest rails, but it used to run on 3.0 and later on 3.1. Sorry, but I don't remember this particular problem (I did have other issues with STI, though). Can you post how to recreate your problem? Maybe an example app? My quick test on a 3.1.1 app didn't show this problem. -- Ylan -- SD Ruby mailing list [email protected] http://groups.google.com/group/sdruby
