aboutsummaryrefslogtreecommitdiffstats
path: root/guides/rails_guides.rb
diff options
context:
space:
mode:
authorTsukuru Tanimichi <ttanimichi@users.noreply.github.com>2017-04-02 13:42:14 +0900
committerGitHub <noreply@github.com>2017-04-02 13:42:14 +0900
commitd1ca18d21f3c173af34dfdc3fa34de577178fee9 (patch)
tree0e0c5ebf37262d5988fb626ef952b13941626fe4 /guides/rails_guides.rb
parenteb180f14f46d11963fa2a725a5657eb16d5900ca (diff)
downloadrails-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 'guides/rails_guides.rb')
0 files changed, 0 insertions, 0 deletions