Hello list,
What if I have a model called address that is polymorphic, and I also have an address resource (as I want to try to follow a RESTful design) – how could I make “polymorphic” nested associations between addresses controller and other related resources (users/1/addresses and orders/3/addresses). What would be the easiest way to accomplish something like that?
Thanks,
Marcelo.