diff options
| author | Washington Luiz <huoxito@gmail.com> | 2014-01-27 02:18:56 -0300 |
|---|---|---|
| committer | Washington Luiz <huoxito@gmail.com> | 2014-01-27 02:18:56 -0300 |
| commit | 8b14b114348c1bf8a88689028e25240d457dff56 (patch) | |
| tree | 971ae4cfa7388c2a033e58b74122c7c851191cdf /railties/lib/rails/generators/migration.rb | |
| parent | dd339bb0adc3bb1f0c376c4352f769ae2ab02b62 (diff) | |
| download | rails-8b14b114348c1bf8a88689028e25240d457dff56.tar.gz rails-8b14b114348c1bf8a88689028e25240d457dff56.tar.bz2 rails-8b14b114348c1bf8a88689028e25240d457dff56.zip | |
Display value when raising due to unscope() issues
Hopefully make it easier to debug errors. e.g
Before:
RuntimeError:
unscope(where: "deleted_at") failed: unscoping String is unimplemented.
After:
RuntimeError:
unscope(where: "deleted_at") failed: unscoping String "'t'='t'" is unimplemented.
Diffstat (limited to 'railties/lib/rails/generators/migration.rb')
0 files changed, 0 insertions, 0 deletions
