That does not work, makes the whole page error. On Tuesday, July 24, 2012 12:27:10 PM UTC+1, Matt jones wrote: > > > On Jul 24, 2012, at 4:59 AM, tomkins wrote: > > > Thank you but I'm new to rails and hobo and I don't understand how to > implement your example. Could you show me more maybe using what I have so > far? > > I've highlighted the problem area: > > > > hobo_index Lead.active.apply_scopes(:search => > [params[:search], :name, :state], > > :order_by => > parse_sort_param(:name,:bu,:probability,:teamsize,:duration,:created_at,:decision_date,:state,:contact.company), > > > > This is a Ruby gotcha - if you're going to put anything outside of > [a-zA-Z0-9_] in a symbol value, you need to quote it: > > :'contact.company' > > --Matt Jones > > >
-- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/hobousers/-/xnNHGw5qr8IJ. 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.
