# File lib/generators/helpers/migration_helper.rb, line 44 def model_exists?(name) File.exists?(File.join(Rails.root, "app/models/#{name}.rb")) end