title: Accessing devise's current_user from library code
body: <p>I've created a class in my rails app's lib directory. That class needs access to Devise's current_user. </p>
  
  <p>I also should point out that this lib class is frequently accessed from model code, and therefore cannot have the current_user passed into it.</p>
  
  <p>How can I achieve this?</p>
  
  <p>Peter.</p>