title: What are reasons "reload!" doesn't always seem to work in the Rails console?
body: <p>I'm just getting the hang of Rails console, and finding it useful for quickly testing methods in my classes. I know that I can make changes to my Models, then </p>
  
  <pre><code>&gt; reload!
  </code></pre>
  
  <p>to grab those updates, but sometimes I'll find that it doesn't seem to reload my latest code. Does Rails cache code somewhere? </p>
  
  <p>In a really simple pseudo example, I may have bad code on line 100:</p>
  
  <pre><code>100: u = User.alll
  </code></pre>
  
  <p>and in the Rails console, when I run this method, I might get an error similar to: </p>
  
  <pre><code>NoMethodError: undefined method `alll' for User:Class ... on line 100
  </code></pre>
  
  <p>then modify my code, fixing the error</p>
  
  <pre><code>100: u = User.all
  </code></pre>
  
  <p>then reload:</p>
  
  <pre><code>&gt; reload!
  </code></pre>
  
  <p>and then, when calling the method in this class that has the correct code, it still will say</p>
  
  <pre><code>NoMethodError: undefined method `alll' for User:Class ... on line 100
  </code></pre>
  
  <p>When clearly, the error is fixed, and the offending line isn't even on line 100 anymore. Is there a way to force/hard-reset the "reload!" command?</p>