diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2019-07-29 12:27:48 -0300 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2019-07-29 12:28:36 -0300 |
commit | 17b8cde6d16cee9a7b7d5daf1ef79d8facfcfbf6 (patch) | |
tree | c37e77e5eebdaf82c5bfc282135f117bf7bc60f3 /activerecord/README.rdoc | |
parent | 2e6d9af6c8b9900481dabfca685b3e335c2f27aa (diff) | |
download | rails-17b8cde6d16cee9a7b7d5daf1ef79d8facfcfbf6.tar.gz rails-17b8cde6d16cee9a7b7d5daf1ef79d8facfcfbf6.tar.bz2 rails-17b8cde6d16cee9a7b7d5daf1ef79d8facfcfbf6.zip |
Call raise with parentheses like a normal method call with arguments
Using `(raise FooError, "error")` is like forcing a "new scope" around
the `raise` call, it's simpler to just wrap the `raise` arguments with
parentheses just like any other method call would.
Diffstat (limited to 'activerecord/README.rdoc')
0 files changed, 0 insertions, 0 deletions