You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ruby on Rails: Talk
I notice that there is a line in the logs called User Columns (1.3ms)
[0m [0mSHOW FIELDS FROM `users` [0m, anytime I issue a query
against a model, even if the queries don't do anything to the user
model. This happens even on the console.
Any ideas where this is coming from? Whats the best way to trace which
part of the code is issuing these queries?
Thanks
Frederick Cheung
unread,
Jul 27, 2010, 5:10:43 PM7/27/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ruby on Rails: Talk
That rails looking at the structure of your database. In production
these lookups are cached.