Re: [Rails] Re: Re: Re: Search of multiple columns

2012-02-22 Thread Walter Lee Davis
On Feb 22, 2012, at 10:43 AM, Roger Patrick wrote: > Hey I installed the ransack gem and have added some basic code to my > code but have received an error now on my page which is the followin > > undefined method `result' for # > > I have the following code in my gamescontroller.rb > > def

[Rails] Re: Re: Re: Search of multiple columns

2012-02-22 Thread Roger Patrick
Hey I installed the ransack gem and have added some basic code to my code but have received an error now on my page which is the followin undefined method `result' for # I have the following code in my gamescontroller.rb def index @q = Game.search(params[:q]) @game = @q.result(:dist