deunknownification broken for polymorphic belongs_to
Reported by David Mathers | February 24th, 2009 @ 09:41 PM
My error looks like this:
method changed?' not defined in OrderLine
vendor/plugins/hobo/hobo/lib/hobo/permissions.rb:392:in `remove_method'
vendor/plugins/hobo/hobo/lib/hobo/permissions.rb:392:in `send'
vendor/plugins/hobo/hobo/lib/hobo/permissions.rb:392:in `deunknownify_attribute'
vendor/plugins/hobo/hobo/lib/hobo/permissions.rb:391:in `each'
vendor/plugins/hobo/hobo/lib/hobo/permissions.rb:391:in `deunknownify_attribute'
vendor/plugins/hobo/hobo/lib/hobo/permissions.rb:388:in `deunknownify_attribute'
vendor/plugins/hobo/hobo/lib/hobo/permissions.rb:329:in `edit_permitted?'
vendor/plugins/hobo/hobo/lib/hobo/permissions.rb:207:in `editable_by?'
vendor/plugins/hobo/hobo/lib/hobo/permissions.rb:121:in `with_acting_user'
vendor/plugins/hobo/hobo/lib/hobo/permissions.rb:207:in `editable_by?'
vendor/plugins/hobo/hobo/lib/hobo/hobo_helper.rb:253:in `can_edit?'
vendor/plugins/hobo/hobo/taglibs/rapid_core.dryml:28:in `field_list'
vendor/plugins/hobo/hobo/lib/hobo/dryml/template_environment.rb:248:in `new_context'
Works fine on regular belong_to.
Comments and changes to this ticket
-
David Mathers March 4th, 2009 @ 10:29 PM
apologies. it's working now, and i can't recreate the problem. will test problems on a fresh hobo install in the future.
-
Tom Locke March 12th, 2009 @ 10:12 AM
- State changed from new to invalid
OK - let us know if it crops up again
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 »