ruby

Ruby on Rails

Introduction Installation Usage Fields End-to-end example Results References Introduction sqlcommenter_rails adds comments to your SQL statements. It is powered by marginalia and also adds OpenCensus information to the comments if you use the opencensus gem. sqlcommenter_rails configures marginalia and marginalia-opencensus to match the SQLCommenter format. Installation Add this line to your application’s Gemfile gem 'sqlcommenter_rails' Then run bundle and restart your Rails server. To enable OpenCensus support, add the opencensus gem to your Gemfile, and add the following line in the beginning of config/application. »