I started looking into the 
reload!<http://api.rubyonrails.org/classes/Object.html#method-i-reload-21>method
 as I figured maybe manually reloading the classes in between testing 
adapters would help.

In the dev console doing a reload appears to be similar to resetting the 
quoted_table_name, I get the same:

User.scoped.to_sql   #=> "SELECT \"users\".* FROM `users`"

So it's caching that table_name (in the FROM clause) somewhere else (that 
isn't reloaded)

Does anyone have any insight into this?  I'm digging into the source but I'm 
not having a ton of luck.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/QHbYq5RnCFgJ.
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.

Reply via email to