diff options
author | meganemura <meganemura@users.noreply.github.com> | 2017-10-05 13:21:03 +0900 |
---|---|---|
committer | meganemura <meganemura@users.noreply.github.com> | 2017-10-05 13:27:27 +0900 |
commit | 8a8ac422d8c388bf5f39ae2e6ec3ae84780186e7 (patch) | |
tree | d4687186b18db977440ec92795ecd877490a6c8a /actionmailer/lib/action_mailer.rb | |
parent | bd2542b74fe528d95f51d8f3668b0f7d6d8af974 (diff) | |
download | rails-8a8ac422d8c388bf5f39ae2e6ec3ae84780186e7.tar.gz rails-8a8ac422d8c388bf5f39ae2e6ec3ae84780186e7.tar.bz2 rails-8a8ac422d8c388bf5f39ae2e6ec3ae84780186e7.zip |
Use __callee__ to pass alias instead of original method name
Before
```
> Article.left_joins
ArgumentError: The method .left_outer_joins() must contain arguments.
```
After
```
> Article.left_joins
ArgumentError: The method .left_joins() must contain arguments.
```
Diffstat (limited to 'actionmailer/lib/action_mailer.rb')
0 files changed, 0 insertions, 0 deletions