Forum: Ruby on Rails ActiveRecord inheritance mapping - Table per subclass?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Omar Javier Rodríguez Rodríguez (Guest)
on 2009-04-02 19:13
(Received via mailing list)
Hi,

Is there a way to implement table per subclass o per concrete class
strategy
in ActiveRecord?

Thanks.
Frederick C. (Guest)
on 2009-04-02 19:15
(Received via mailing list)
On 2 Apr 2009, at 14:31, Omar Javier Rodríguez Rodríguez wrote:

> Hi,
>
> Is there a way to implement table per subclass o per concrete class
> strategy in ActiveRecord?
>

Set self.abstract_class=true on the parent class ?

Fred
This topic is locked and can not be replied to.