Skip to content

Commit

Permalink
#84 Added maginalia gem
Browse files Browse the repository at this point in the history
 - Added marginalia gem for attaching context to Active Record queries.
  • Loading branch information
prathamesh-sonpatki committed May 28, 2015
1 parent 207e98a commit 5b5c455
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -102,3 +102,6 @@ group :test do
# for test coverage report
gem 'simplecov', require: false
end

# Attach comments to Active Record queries
gem 'marginalia'
4 changes: 4 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,9 @@ GEM
nokogiri (>= 1.5.9)
mail (2.6.3)
mime-types (>= 1.16, < 3)
marginalia (1.3.0)
actionpack (>= 2.3)
activerecord (>= 2.3)
mime-types (2.5)
mini_portile (0.6.2)
minitest (5.6.1)
Expand Down Expand Up @@ -319,6 +322,7 @@ DEPENDENCIES
jbuilder (>= 2.2.13)
jquery-rails
mail_interceptor!
marginalia
minitest-reporters
pg
quiet_assets
Expand Down
1 change: 1 addition & 0 deletions config/application.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
require File.expand_path('../boot', __FILE__)

require 'rails/all'
require 'marginalia/railtie'

# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Expand Down
1 change: 1 addition & 0 deletions config/initializers/marginalia.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Marginalia.application_name = 'WHEEL'

0 comments on commit 5b5c455

Please sign in to comment.