Thanks again for your help, Hassan. Unfortunately it's still caching queries. I've tried both approaches in this thread in isolation, and together, and regardless, the query cache is still being used.
First, I created an initializer: config/initializers/active_record.rb with ActiveRecord::Base.connection.disable_query_cache! inside it, and then used config.middleware.delete ActiveRecord::QueryCache in config/ environments/development.rb inside the configure block. Unfortunately I'm still left with cached queries inside the log file: Started GET "/dashboard" for 127.0.0.1 at 2011-08-08 19:43:11 -0600 Processing by DashboardController#index as HTML User Load (12.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 1]] Do you guys think maybe it's time to submit a "bug" (for lack of a better word) report for 3.1rc5, or is there another way I should go about testing this? On Aug 8, 6:25 pm, Phoenix Rising <[email protected]> wrote: > My apologies Hassan, I looked at it and didn't realize that it was the > EDGE version of the guide and thought I was looking at the same > documentation that we'd already been through. Thanks! > > On Aug 8, 5:51 pm, Hassan Schroeder <[email protected]> > wrote: > > > > > > > > > On Mon, Aug 8, 2011 at 4:30 PM, Phoenix Rising <[email protected]> > > wrote: > > > Unfortunately Hassan that doesn't really help -- that article doesn't > > > explain how to *remove* things from the stack. Does anyone know a > > > clean(er) way to do this than what I've already theorized above? > > >>http://edgeguides.rubyonrails.org/configuring.html#configuring-middle... > > > [quoting that source] > > > They can also be removed from the stack completely: > > (example) > > config.middleware.delete ActionDispatch::BestStandardsSupport > > > -- > > Hassan Schroeder ------------------------ > > [email protected]http://about.me/hassanschroeder > > twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

