Don't use deprecated ActiveRecord syntax