Added bullet gem to track unusued eager loading.

This commit is contained in:
Benjamin Meichsner 2013-01-26 16:16:50 +01:00
parent 0683738003
commit 44ef0a9807
3 changed files with 13 additions and 0 deletions

View file

@ -53,4 +53,7 @@ group :development do
# Re-enable rails benchmarker/profiler # Re-enable rails benchmarker/profiler
gem 'ruby-prof' gem 'ruby-prof'
gem 'test-unit' gem 'test-unit'
# Get infos when not using proper eager loading
gem 'bullet'
end end

View file

@ -57,6 +57,8 @@ GEM
erubis (>= 2.7.0) erubis (>= 2.7.0)
binding_of_caller (0.6.8) binding_of_caller (0.6.8)
builder (3.0.4) builder (3.0.4)
bullet (4.3.0)
uniform_notifier
chronic (0.9.0) chronic (0.9.0)
client_side_validations (3.1.4) client_side_validations (3.1.4)
coderay (1.0.8) coderay (1.0.8)
@ -205,6 +207,7 @@ GEM
uglifier (1.3.0) uglifier (1.3.0)
execjs (>= 0.3.0) execjs (>= 0.3.0)
multi_json (~> 1.0, >= 1.0.2) multi_json (~> 1.0, >= 1.0.2)
uniform_notifier (1.1.1)
vegas (0.1.11) vegas (0.1.11)
rack (>= 1.0.0) rack (>= 1.0.0)
whenever (0.8.1) whenever (0.8.1)
@ -223,6 +226,7 @@ DEPENDENCIES
acts_as_versioned! acts_as_versioned!
better_errors better_errors
binding_of_caller binding_of_caller
bullet
client_side_validations client_side_validations
coffee-rails (~> 3.2.1) coffee-rails (~> 3.2.1)
daemons daemons

View file

@ -0,0 +1,6 @@
if defined? Bullet
Bullet.enable = true
# Bullet.alert = true
Bullet.bullet_logger = true
Bullet.console = true
end