search for: barcontent

Displaying 1 result from an estimated 1 matches for "barcontent".

Did you mean: badcontent
2006 Jan 02
0
Best practice for registering/discovering STI subclasses?
Folks, I''m fairly new to Rails, and I''ve Googled around for an answer to this question with no luck... Consider a little blog application that has uses single-table inheritance for the handful of different content types via a Content base class and subclasses like FooContent and BarContent. That part all works well for me. Now consider the view that presents actions to the user to create different types of content, via links like "Create new Foo" and "Create new Bar". I want the application to automatically be aware of the different types of content that are av...