title: ruby on rails 3 reload using cached data
body: <p>Using the activerecord reload command in my app seems to be using cached data when called.</p>
  
  <p>I can replicate within the debugger by doing the following.</p>
  
  <pre><code>u = User.find(1)
  u.first_name
  #outputs bob
  
  # manually change first_name for record 1 to jim with PGadmin or with rails console
  
  u.reload
  u.valid?
  #outputs true
  u.first_name
  #outputs bob
  
  #if i do this again
  u = User.find(1)
  #old data again
  u.first_name
  #outputs bob
  
  #if i load data this way
  u = User.where('id = 1').first
  #new data
  u.first_name 
  #outputs jim
  </code></pre>
  
  <p>When looking at my log file after running reload it prints out</p>
  
  <p>[1m[35mCACHE (0.0ms)[0m  SELECT "users".* FROM "users" WHERE ("users"."id" = 1) LIMIT 1</p>
  
  <p>So it seems to be using the cache</p>
  
  <p>My environment: Rails 3.0.3, Ruby 1.8.7, Ubuntu 10.04, PostgreSQL 8.4</p>