diff options
| author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-01-06 11:27:35 -0200 |
|---|---|---|
| committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-01-06 11:27:36 -0200 |
| commit | 15971c3d51f549d91cf000d7c664ffb4335bef03 (patch) | |
| tree | 4208179f1d7c9431f344a150c173cb1b3950fb6a /activemodel/lib/active_model/serializers | |
| parent | b8d9319e8e1c4f1940d1c3d64d439c54f133d1d2 (diff) | |
| download | rails-15971c3d51f549d91cf000d7c664ffb4335bef03.tar.gz rails-15971c3d51f549d91cf000d7c664ffb4335bef03.tar.bz2 rails-15971c3d51f549d91cf000d7c664ffb4335bef03.zip | |
Rescue from LoadError when trying to load the debugger gem for console
Avoid swallowing all exceptions that might happen when requiring
debugger, just catch a LoadError if it cannot be loaded.
Check for more background:
https://github.com/rails/rails/commit/28fd867c9bc790636d37a28f288791cd0089a6fd#commitcomment-2386952
Diffstat (limited to 'activemodel/lib/active_model/serializers')
0 files changed, 0 insertions, 0 deletions
