thank you very much :-)

On 14 Oct, 17:50, kevinpfromnm <[email protected]> wrote:
> though, 'this' might be available at that point as well.
>
> On Oct 14, 1:45 am, storitel <[email protected]> wrote:
>
> > this must be in the documentation somewhere, but I can't find it,....
>
> > what's the syntax to access the current scope in a controller?
>
> > so for example if I have
>
> >     hobo_index Employee.status_is_not("left").apply_scopes(:search
> > => [params[:search],:name, :description],
> >                                     :order_by =>
> > parse_sort_param(:name, :base, :available),
> >                                     :base_is =>
> > params[:location] ), :paginate => false
>
> > how do I access the list of in-scope Employees eg inside another
> > function in employees_controller.rb?

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