Thanks, but could you be more specyfic about where exactly should I

2010/5/24 Matt Jones <[email protected]>

>
> On May 24, 2010, at 7:47 AM, Tom wrote:
>
>  Hi, I've got two models - A and B, model A has_one model B. Some user
>> is allowed to see all items of model A, but only some items of model B
>> and each item of model A has one item of model B. When the model B
>> item is allowed to be seen there is no problem, but when it's not I'm
>> getting error "view of non-viewable field 'name' of". What can I do to
>> filter (not show) rows, where model B' items are not allowed to be
>> seen?
>>
>
> This is a bug:
>
> https://hobo.lighthouseapp.com/projects/8324/tickets/726
>
> For now, if you write out the repeat explicitly and call:
>
> <if test="&can_view?(this)>
>
> (instead of the version without (this) as an argument) it should work.
>
> --Matt Jones
>
>
> --
> 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]<hobousers%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/hobousers?hl=en.
>
>

-- 
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