title: How to stub in Rails development environment?
body: <p>I'm looking for a reliable way to dynamically stub certain methods in my development environment. One example use case is when I need to do development that normally requires access to the Facebook Graph APIs but I don't have Internet access. I'd like to be able to stub the calls to fb_graph methods so it looks as if I'm authenticated and have profile data. Ideally I could turn the stubs on or off with a minor config change. </p>
  
  <p>Any ideas? I'm assuming something like mocha can handle this?</p>