Yet Another request to help DRY some code

Check out ActiveRecord::Reflection#reflect_on_association(:has_one)

But I wonder if you might not want STI for all the XxxPageAttributes if there should only be one of them.

-Rob

Rob Biedenharn http://agileconsultingllc.com Rob@AgileConsultingLLC.com

What's STI? I'd love if I could make DatePageAttribute and StringPageAttribute simply subclasses of PageAttribute (but use the table structure I have already). Is this possible? To make a Model who is backed by a pair of tables?