Need a way to specify the 'owner' classes in a polymorphic auto_actions_for
Reported by Tom Locke | December 1st, 2008 @ 04:54 PM | in Beyond Hobo 1.0
Sol says:
The polymorphic model has a reflection defined like this:
belongs_to :parent, :polymorphic => true
And if you use auto_actions_for :parent I think it cannot guess the name of the other class, since it's polymorphic and there are multiple possible classes
Comments and changes to this ticket
-
Tom Locke December 1st, 2008 @ 04:54 PM
- State changed from new to open
-
Tom Locke March 12th, 2009 @ 11:49 AM
- Milestone changed from Hobo 1.0 - Final to Beyond Hobo 1.0
- Tag set to enhancement, model-controller
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
People watching this ticket
Referenced by
- 309 auto_action_for doesn't work for polymorphic relationships Thanks. Now tracking this in #336