Some ActiveRecord internals hackery. How'd I do @sgrif?
https://github.com/bradurani/pg-eyeballs/blob/master/lib/eyeballs/inspector.rb#L94 …
-
-
to_sql only returns one query. But if you preload, multiple queries are run. Eyeballs shows them all
-
But why not use `to_sql` from the connection for each query? Why duplicate the quoting behavior at all?
- 2 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.