Skip to content

Instantly share code, notes, and snippets.

@sirramongabriel
Created October 18, 2017 14:22
Show Gist options
  • Select an option

  • Save sirramongabriel/f067bc4ef967679ab6719467c9b8650b to your computer and use it in GitHub Desktop.

Select an option

Save sirramongabriel/f067bc4ef967679ab6719467c9b8650b to your computer and use it in GitHub Desktop.
Resque.redis = 'localhost:6379'
Resque.after_fork = Proc.new { ActiveRecord::Base.establish_connection }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment