Close. You don't want to take an array reference. The result set is already a reference to an object. Just change that–
$c->stash( users => $c->model('DB::tech')->search_rs );–and you should be good. You might want to look around for advice and techniques with chained controller methods too. They go very well with chained result sets and can make code terse while still being easy to read and follow.
In reply to Re^3: Need help working with a view in Catalyst
by Your Mother
in thread Need help working with a view in Catalyst
by vendion
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |