On 3/22/06, Sergei S. [email protected] wrote:
David, I have a lot trust in your decisions and opinions, but what about
things that iterate over attribute collections like scaffolds for
example? Neither solution will work correctly with them. I am not saying
this is the end of the world. Just an observation.
Usually the answer is: It Just Doesn’t Matter. But if it
does to you, you can always use attr_protected or overwrite the other
attributes with accessors that throws an exception. Whatever floats
If you can think of a way for ActiveRecord to know which attributes
belong to which subclass without having to specify them “by hand” in
the model file, I’d be happy to work on a patch.
I haven’t been able to come up with anything solid myself; this is
just a side-effect of the column auto-discovery technique AR uses, in