Remove deprecations printed out in the test suite

This commit is contained in:
Matt Rogers 2018-11-20 19:57:02 -06:00
parent d3c9975606
commit f2647e3f94
No known key found for this signature in database
GPG key ID: 605D017C07EB4316
5 changed files with 10 additions and 10 deletions

View file

@ -1,5 +1,5 @@
class Project < ApplicationRecord
has_many :todos, -> {order("todos.due IS NULL, todos.due ASC, todos.created_at ASC")}, dependent: :delete_all
has_many :todos, -> {order(Arel.sql("todos.due IS NULL, todos.due ASC, todos.created_at ASC"))}, dependent: :delete_all
has_many :notes, -> {order "created_at DESC"}, dependent: :delete_all
has_many :recurring_todos