search for: event_search

Displaying 2 results from an estimated 2 matches for "event_search".

2011 Jan 03
8
Heroku, needs constant AppController updates?
...Base require ''date'' require ''nokogiri'' require ''open-uri'' require ''chronic'' protect_from_forgery include SessionsHelper def authenticate deny_access unless signed_in? end def find_all_events @event_searches = EventSearch.all @event_searches.each do |es| do_search(es) end end def find_one_band_events(event_id) es = EventSearch.where(:id => event_id)[0] do_search(es) end def do_search(event_search) logger.debug"Changing AppController again" logger.debug"in do se...
2011 Apr 08
0
eventbright gem
Hi, I am using eventbright gem for getting the event brite events. I am doing like as follows:- EventBright.setup(api_key) res= EventBright.call("event_search", {:latitude=>37.3229978, :longitude=>-122.0321823}) puts res.inspect I am getting the response as the HTTPARTY object. Can anyone tell me how can I parse the response? Also, I think I am missing something during using the gem due to that it is giving me the response as httpparty obj...