Only thing I'm thinking is your association should have an :accessible
=> true for the input-many to actually work but that's not the problem
you describe.  Perhaps it's with the !user.guest? method... I thought
that was (being?) dumped in favor of user.signed_in? but your console
tests kinda rule that out.

On Feb 25, 11:39 am, François Beausoleil
<[email protected]> wrote:
> Hi all!
>
> I have companies, people and employees. Employees is an input-many on
> both the company and person form.  The show view shows me the
> employees just fine. But when I switch to edit, the employees editor
> disappears, unless I'm logged in as an administrator.
>
> In the Employee model, I have an #update_permitted? method that
> returns !acting_user.guest?. From the console, I can confirm that a
> regular user can in fact update the model, while from the UI, it is as
> I described above: the UI for the input-many is missing.
>
> This is using Hobo edge as a plugin
> 3abe182c7d79ec2e5abcb47b0c64650006b8badb on Rails 2.3.5.
>
> I pasted the offending code here:http://gist.github.com/314862
>
> I previously had problems with permissions 
> here:http://groups.google.com/group/hobousers/browse_frm/thread/5688f88beb...,
> but this time around, it's not because of a missing method.
>
> Thanks for any tips / pointers / docs.
> François

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to