Have you added a worker definition in your Procfile, and a corresponding worker process?
On 19/04/2013, at 5:51 PM, Laurent Gorse wrote: > Actually Allan I just checked the site on Heroku and it's not updating > automatically anymore. It is on the local host (when I run sidekiq). > > Is there something I should have done to keep sidekiq on in production? > > > On Thu, Apr 18, 2013 at 11:51 PM, Pat Allan <[email protected]> wrote: > Great to know you got it all figured out Laurent. Sorry I couldn't be more > timely with my help. If you do have any remaining questions though, let me > know. > > On 19/04/2013, at 2:11 PM, Laurent Gorse wrote: > > > DONE! I've finally implemented my search on Heroku. Man, that was a > > brutal... 16 hours of pure work. All for a stupid mistake. I need to get my > > head in order. > > > > > > On Thu, Apr 18, 2013 at 8:46 PM, <[email protected]> wrote: > > OK solved the :delta problem but now I realize that I need to change the > > target url of TS:delta since it is localhost by default. > > > > I am looking into redis2Go on Heroku. Any advice about these next steps? > > > > > > On Thursday, April 18, 2013 3:31:18 AM UTC-7, [email protected] wrote: > > Hi Pat, > > > > I implemented TS delayed_delta on my app and I get a strange error message > > when I load a view. The view loads a restaurant summary. > > > > Here is the message: > > > > undefined method `toggle' for nil:NilClass > > > > Extracted source (around line #1): > > > > 1: <% set_google_restaurant_values(result) %>2: <li > > id="restaurant_summary">3: <div id = "restaurant_summary_wrapper">4: <div > > id="restaurant_summary_left"> > > > > Trace of template inclusion: > > app/views/restaurants/_google_restaurants.html.erb, > > app/views/restaurants/google_search.js.erb > > > > Rails.root: /home/lgorse/www/curiousbear > > > > Application Trace | Framework Trace | Full Trace > > app/helpers/restaurants_helper.rb:106:in > > `set_google_restaurant_values'app/views/restaurants/_google_restaurant_summary.html.erb:1:in > > > > `_app_views_restaurants__google_restaurant_summary_html_erb___1466256548253147453_43999960'app/views/restaurants/_google_restaurants.html.erb:4:in > > > > `_app_views_restaurants__google_restaurants_html_erb__2975153352808883957_43673500'app/views/restaurants/google_search.js.erb:2:in > > > > `_app_views_restaurants_google_search_js_erb__2134691260687145231_39594340'app/controllers/restaurants_controller.rb:15:in > > `index' > > > > > > And here is my code - please ask if you need more: > > > > > > def set_google_restaurant_values(result) > > venue = set_attr_from_google(result) > > @encoded_venue = > > Base64.urlsafe_encode64(URI.encode(venue.to_json)) > > > > @venue_json = {"name" => venue[:name]}.to_json > > > > @restaurant = > > Restaurant.find_or_create_by_google_id(venue[:google_id], > > final_restaurant_attributes(venue)) > > > > @parsed_address = > > split_formatted_address(venue[:formatted_address].to_s) > > > > end > > > > I think this has to do with the 'toggle' button in your thinking_sphinx.rb > > class but I have no idea how to pass my instance, or why it's not passing. > > > > The :delta attribute is not null and true by default in the model. > > > > Talk to you soon Pat - fingers crossed you can help > > > > > > > > -- > > You received this message because you are subscribed to the Google Groups > > "Thinking Sphinx" group. > > To unsubscribe from this group and stop receiving emails from it, send an > > email to [email protected]. > > To post to this group, send email to [email protected]. > > Visit this group at http://groups.google.com/group/thinking-sphinx?hl=en. > > For more options, visit https://groups.google.com/groups/opt_out. > > > > > > > > > > > > -- > > ______________________________________________________ > > Laurent Gorse > > MBA Candidate, class of 2013 > > Stanford Graduate School of Business > > 650.644.9188 > > [email protected] > > gsb.stanford.edu|Facebook: StanfordGSB|Twitter: @StanfordBiz > > > > -- > > You received this message because you are subscribed to the Google Groups > > "Thinking Sphinx" group. > > To unsubscribe from this group and stop receiving emails from it, send an > > email to [email protected]. > > To post to this group, send email to [email protected]. > > Visit this group at http://groups.google.com/group/thinking-sphinx?hl=en. > > For more options, visit https://groups.google.com/groups/opt_out. > > > > > > > > -- > You received this message because you are subscribed to the Google Groups > "Thinking Sphinx" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/thinking-sphinx?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > > > > -- > ______________________________________________________ > Laurent Gorse > MBA Candidate, class of 2013 > Stanford Graduate School of Business > 650.644.9188 > [email protected] > gsb.stanford.edu|Facebook: StanfordGSB|Twitter: @StanfordBiz > > -- > You received this message because you are subscribed to the Google Groups > "Thinking Sphinx" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/thinking-sphinx?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > -- You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/thinking-sphinx?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
