class Questionable::Generators::InstallGenerator
Public Instance Methods
copy_migrations()
click to toggle source
# File lib/questionable.rb, line 39 def copy_migrations filename = 'questionable_migration' if self.class.migration_exists?('db/migrate', filename) say_status('skipped', "Migration #{filename}.rb already exists") else migration_template "migrations/#{filename}.rb", "db/migrate/#{filename}.rb" end end