diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-09-02 19:20:29 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2018-09-02 19:24:57 +0900 |
commit | 9b56cbd98dc422976cd59ec9644d670768efdfc2 (patch) | |
tree | 950b8f5a12b677c566f3a13e02fb1fa38d28c14e /railties/lib | |
parent | 240319933003edfd5718df6b6ebf5872791df9c0 (diff) | |
download | rails-9b56cbd98dc422976cd59ec9644d670768efdfc2.tar.gz rails-9b56cbd98dc422976cd59ec9644d670768efdfc2.tar.bz2 rails-9b56cbd98dc422976cd59ec9644d670768efdfc2.zip |
Remove unused splat args in `_create_record`
`_create_record` is passed `attribute_names` only.
```
% git grep -n '_create_record(attribute_names'
lib/active_record/attribute_methods/dirty.rb:173: def _create_record(attribute_names = attribute_names_for_partial_writes)
lib/active_record/counter_cache.rb:162: def _create_record(attribute_names = self.attribute_names)
lib/active_record/locking/optimistic.rb:64: def _create_record(attribute_names = self.attribute_names)
lib/active_record/persistence.rb:738: def _create_record(attribute_names = self.attribute_names)
```
Diffstat (limited to 'railties/lib')
0 files changed, 0 insertions, 0 deletions