It would seem I should create a “filtered” method in the controller
(which I have done).
Then invoke if from the view like:
for row in @rows
continue if row.filtered
It is not working. ie. filtered is undefined.
row here is a model, not a controller. Is the method on the Row class ?
It’ should be if you are asking each individual row “are you filtered”.
If however ‘filtered’ is not supposed to be a per-row method, but
list-wide… In your “list” action on controller, create a variable,
this is accessible from the view.