Yet Another request to help DRY some code

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

http://api.rubyonrails.org/classes/ActiveRecord/Reflection/ClassMethods.html#M000592

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?