#468 ✓resolved
Tom Locke

Attributes nil during view_permitted?

Reported by Tom Locke | July 20th, 2009 @ 05:53 PM | in Hobo 1.0 - Final

From hobousers

I have a many to many association with :accessible => true. When
trying to edit the other end view_permitted? gets called for the
target of the association with the object not having any attributes
instantiated:
(rdb:20) p self

nil, user_id: nil>
Then on the next invocations it does have the attributes instantiated
to the objects that are associated with the object being edited.
Anyone know what's going on here or is this a bug?

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

Tags

Referenced by

Pages