Displaying 2 results from an estimated 2 matches for "marginalia".
Did you mean:
marginal
2012 May 10
0
Marginalia's :line option
I am trying to use the Marginalia gem''s :line parameter. It emits something, but it seems to always say ''script/rails:6'', as in...
/*application:Realvolve,controller:contacts,action:index,line:script/rails:6:in `require''*/
This is at the top of application.rb:
require File.expand_path('...
2013 Jan 05
2
Add support for sql comments
It would be great to be able to annotate sql with comments to tell where a
query came from/or user/account runs it -> visible in slow query log and
mysql status
User.where(xxx).comment("user.rb:11")
-> SELECT * FROM users WHERE xxx /* user.rb:11 */
User.where(xxx).comment("doing slow stuff in the console: do not kill")
does this sound good -> would a patch be