Thanks for the link.

At the bottom there, there is an unanswered question:

Q. What about model attributes when using STI?

eg. I have Page, Article and Comment all inheriting from ContentItem.
Only comment uses the commentable_id column.

Some of these models will have more attributes than others. How do I
make sure the more specific atrributes are hidden or disabled from the
parent model, while enabling those attributes for select models using
those attributes?

That`s also interesting me.
Can you tell me more about this?

Thanks
Jonas
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to