#384 ✓invalid
David Mathers

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

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.

New-ticket Create new ticket

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

Pages