title: Sometimes Resque "unloads" the Rails environment for no apparent reason
body: <p>I have a simple stack with Ruby on Rails and <a href="https://github.com/defunkt/resque" rel="nofollow">resque</a>. I enqueue jobs in a normal way and I have a pool of workers performing. Nothing crazy.</p>
  
  <p>My problem is that if I leave the workers running for long enought they will stop to have visibility on the app's models, and every call to such a method will result in an <code>undefined_method</code>. </p>
  
  <p>This is very weird since <strong>it could be working perfectly for days and then suddenly it starts failing</strong>. Restarting the worker fixes the problem, but it usually come back after a while.</p>
  
  <p>I have no clue what could be going on, so any pointers would be greatly appreciated.</p>