I have a rake task that won\'t work unless a table exists. I\'m working with more than 20 engineers on a website so I want to make sure they have migrated the table before they
The proper way to do this is Model.table_exists?
class Dog < ApplicationRecord # something end do_something if Dog.table_exists?