Subject: [Rails] Re: Re: Re: Re: Search of multiple columns Walter Davis wrote in post #1048250: > On Feb 22, 2012, at 10:43 AM, Roger Patrick wrote: > >> end >> >> any ideas of what the problem might be? >> > > Didn't you have a search method that you wrote earlier? That may be > overriding the one in the Ransack gem. Ransack returns an Arel > collection, not an array. > > Walter I still have a method in the model but I have removed the old search from the index.html.erb. So I can't see that being the problem. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@xxxxxxxxxxxxxxxxx To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@xxxxxxxxxxxxxxxxx For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en. |