Thank you very much for this - I've now fixed the field-level issue as
kevin suggested - the following skips the count field if not
viewable...
<table-plus fields="this, calls.count, user">
<calls-count-heading:>Calls</calls-count-heading:>
<calls-count-view:><view if="&can_view?"/></calls-count-view:>
</table-plus>
could you more specific on how to solve the row-level case? i'm
struggling to figure out the syntax for using can_view? to get table-
plus to skip rows that are not viewable...
also i'd be interested to know how to do the viewable check in the
association itself?
sorry if these questions seem basic...
thanks again
Paul
On 2 July, 10:12, Bernhard Leicher <[email protected]>
wrote:
> On 1 Jul., 13:40, Matt Jones <[email protected]> wrote:
>
>
>
> > Yep - it's a bug.
>
> >https://hobo.lighthouseapp.com/projects/8324/tickets/726
>
> > using can_view?(this) instead will make it work for now.
>
> Thank you!
--
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.