Displaying 5 results from an estimated 5 matches for "meta_search".
2010 Nov 30
1
rails 3 meta_search usage
I am in the process of upgrading my app from Rails2 to Rails3.
My Rails2 app uses searchlogic heavily.
After googling i''ve come to know that searchlogic is not compatible
with Rails3 and need to use meta_search instead.
But i havent quite understood the usage of meta_search vis-a-vis
searchlogic.
If i have a User model with :name and :address fields, i am not able
to use the following methods with meta_search. What am i doing wrong?
ruby-1.9.2-p0 > User.name_null
NoMethodError: undefined method `nam...
2011 Jul 28
0
CanCan filtering meta_search results?
At the moment, I am running meta_search, and then filtering through
CanCan after I have a set of results. Is there any other way to
restrict the returned objects within the initial search query?
def index
@search =
User
.search :first_name_or_last_name_or_practice_name_or_role_contains_any
=> params[:search].to_s.spl...
2011 May 26
3
Kaminari rspec testing undefined method page.
...get :index
assigns(:fire_preventions).should eq([mock_fire_prevention])
end
end
The index action is:
def index
@search = FirePrevention.search(params[:search])
@fire_preventions =
@search.page(params[:page]).per(Settings.fire_preventions_per_page)
end
I''m using meta_search.
The test error is:
Failure/Error: get :index
NoMethodError:
undefined method `page'' for [#<FirePrevention:0x976
@name="FirePrevention_1002">]:Array
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"...
2012 Dec 04
0
Empty test suite is run after every rake task
...-
# plugin gems
# ----------------------
gem ''state_machine'', :path => ''vendor/cache/git/state_machine'' # :git =>
''git://github.com/pluginaweek/state_machine.git''
# ----------------------
gem ''simple_enum''
gem ''meta_search''
gem ''meta_where''
gem ''newrelic_rpm''
gem ''capistrano'', ''2.5.21''
gem ''capistrano-ext''
gem ''mongrel''
gem ''mongrel_cluster''
gem ''dispatcher'' # nee...
2011 Aug 15
3
- WEBrick server refuses to launch
...ace (0.5.2a 21574e8)
* devise (1.3.3)
* erubis (2.6.6)
* evernote (1.1.0)
* faker (0.9.5)
* faraday (0.6.1)
* fgraph (0.6.1)
* heroku (2.4.1)
* highline (1.5.1)
* httparty (0.7.8)
* i18n (0.5.0)
* jquery-rails (0.2.6)
* koala (1.1.0)
* launchy (2.0.5)
* mail (2.2.19)
* meta_search (1.0.5)
* mime-types (1.16)
* multi_json (1.0.3)
* multi_xml (0.2.2)
* multipart-post (1.1.3)
* mysql2 (0.2.6)
* nested_set (1.6.4)
* nokogiri (1.5.0)
* oa-core (0.2.6)
* oa-oauth (0.2.6)
* oauth (0.4.5)
* oauth2 (0.4.1)
* orm_adapter (0.0.5)
* paperclip (2.3.8)
* polygl...