Passing conditions to destroy_all is deprecated
Fixed in Releases:
Found in Releases:
Rails 5.0 says:
DEPRECATION WARNING: Passing conditions to destroy_all is deprecated and will be removed in Rails 5.1. To achieve the same use where(conditions).destroy_all.
#3 Updated by Anonymous almost 4 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset foreman_discovery|b5bc526ebba12432e54b6fd4a653d62f2416e932.