rutan / potmum

Potmum is cloud note-app.
MIT License
114 stars 11 forks source link

Fix deprecation warning for `delete_all` #9

Closed onk closed 7 years ago

onk commented 7 years ago

DEPRECATION WARNING: Passing conditions to delete_all is deprecated and will be removed in Rails 5.1. To achieve the same use where(conditions).delete_all. (called from block (2 levels) in build at /home/travis/build/rutan/potmum/app/builders/takeover_builder.rb:19)

rutan commented 7 years ago

Thanks! 😄