diff options
author | Tsukuru Tanimichi <ttanimichi@users.noreply.github.com> | 2017-04-02 13:42:14 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-02 13:42:14 +0900 |
commit | d1ca18d21f3c173af34dfdc3fa34de577178fee9 (patch) | |
tree | 0e0c5ebf37262d5988fb626ef952b13941626fe4 /actionmailer | |
parent | eb180f14f46d11963fa2a725a5657eb16d5900ca (diff) | |
download | rails-d1ca18d21f3c173af34dfdc3fa34de577178fee9.tar.gz rails-d1ca18d21f3c173af34dfdc3fa34de577178fee9.tar.bz2 rails-d1ca18d21f3c173af34dfdc3fa34de577178fee9.zip |
No need to check nil
```ruby
nil.respond_to?(:stringify_keys) # => false
```
```ruby
include ActiveModel::AttributeAssignment
Object.new.assign_attributes(nil) # => ArgumentError: When assigning attributes, you must pass a hash as an argument.
```
Diffstat (limited to 'actionmailer')
0 files changed, 0 insertions, 0 deletions