Ruby on Rails Sunday, November 27, 2011

Hi,

I have two questions regarding the ActiveRecord Inheritance.

1. How can I use rail API to create model which is inherited from
another model?

2. Which approach should I use as inheritance: Single table Inheritance
or Multi table inheritance? Does RoR support both? If so, what is the
command to do that?

Thanks,
Kahou

--
Posted via http://www.ruby-forum.com/.

--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment