kristianmandrup / cantango

CanCan extension with role oriented permission management, rules caching and much more

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

polymorphic with has_many?

mattiassvedhem opened this issue · comments

has_many :accounts, :polymorphic => true

Isn't the polymorphic option just in the opposite direction?

Perhaps it is. Didnt test this yet. Feel free to make a simple demo app to see how to configure it correctly. The latest cantango should work pretty good!