By bloid
via livollmers.net
Submitted: Jul 24 2008 / 02:37
I’ve just spent the last two hours pulling my hair out trying to get Single-Table Inheritance (STI) working with associations in ActiveRecord. After essentially walking through all of the possible ActiveRecord options in this setup, I finally stumbled upon a configuration that seems to work. So this post is an attempt to help the next poor bastard who is Googling in earnest for a solution to a similar problem.
SaveShareSend
Tags: frameworks, ruby
Add your comment