diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2015-12-15 19:23:23 +0300 |
---|---|---|
committer | Yorick Peterse <yorickpeterse@gmail.com> | 2015-12-17 19:25:48 +0300 |
commit | bcee44ad33d8a84822a8df068d47812594c445a3 (patch) | |
tree | 7433df4afefe513e3593cb25e0ed781d3f4c7fa4 /Gemfile.lock | |
parent | a93a32a290c8e134763188ebd2b62935f5698e6c (diff) |
Instrument all ActiveRecord model methods
This works by searching the raw source code for any references to
commonly used ActiveRecord methods. While not bulletproof it saves us
from having to list hundreds of methods by hand. It also ensures that
(most) newly added methods are instrumented automatically.
This _only_ instruments models defined in app/models, should a model
reside somewhere else (e.g. somewhere in lib/) it _won't_ be
instrumented.
Diffstat (limited to 'Gemfile.lock')
-rw-r--r-- | Gemfile.lock | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Gemfile.lock b/Gemfile.lock index 7d592ba93a7..3f301111224 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -887,6 +887,7 @@ DEPENDENCIES kaminari (~> 0.16.3) letter_opener (~> 1.1.2) mail_room (~> 0.6.1) + method_source (~> 0.8) minitest (~> 5.7.0) mousetrap-rails (~> 1.4.6) mysql2 (~> 0.3.16) |