No commit activity in last 3 years
No release in over 3 years
Attach comments to your Sequel queries.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0
>= 0
 Project Readme

sequel_marginalia

Kind of port of 37signals' marginalia for use with Sequel. (It's rather port of an idea than code.)

It just adds comments about caller code to your Sequel SQL queries.

When used, produces SQL like this:

SELECT COUNT(*) FROM `clients`
/* lib/myapp/somefile.rb:40:in `some_method' */

Usage

Install it is a gem.

Than just do

my_database.extension :marginalia

and it's here.

Being dead simple, should presumably work with and DB adapter, though tested only with mysql2.