Currently, I get this error: NameError: undefined methodmerge_joins\' for class Class\' i\'m just doing
I want to do something similar to : @search(some_condition or some_other_condition) this is how the internet says to use OR http://www.binarylogic.com/2009开发者_JS百科/08/26/using-searchlogic-to-com
lhdgriver@lhdgriver-1015PW:~/prog/social$ bundle show searchlogic /home/lhdgriver/.rvm/gems/ruby-1.9.2-p180/gems/searchlogic-2.4.28
I recently changed the pagination with will_paginate in my Rails (2.3.4) app to use Ajax for the pagination and records per page.The pagination was done using the method described here: http://github.
I\'m using Searchlogic with Rails 2.3.5 and I need 开发者_JAVA百科to do add a GROUP_BY clause with 2 columns to my query. I tried:
Regarding MetaSearch, I would like to extract \"human\" names from the search parameters.For example, when the params[:search] has non-blank values for the following:
Rails 2.3.5 Searchlogic 2.3.27 I have the following models; class Outbreak < ActiveRecord::Base has_many :bacterial_agents, :dependent => :destroy
I\'m currently implementing a search form in our users database. I would like to search by id , by login or by email.
My code is very similar to that in railscasts #240 The differences are that I am using rails 2.3.10 so I am not using \'where\'.Instead I am using serachlogic and my model looks like this...
In the past, I have used thinking_sphinx with Rails 2.3 and I found no problems with it. Is it worth considering a new search option?