class ArCheckedMigration::Runner
Attributes
migrations[W]
table_name[W]
Public Class Methods
migrations()
click to toggle source
# File lib/ar_checked_migration/runner.rb, line 10 def migrations @migrations || raise("You must give an ActiveRecord::MigrationProxy array") end
safe?()
click to toggle source
# File lib/ar_checked_migration/runner.rb, line 18 def safe? status = Status.new(migrations, table_name) checker = Checker.new(status) checker.safe? end
table_name()
click to toggle source
# File lib/ar_checked_migration/runner.rb, line 14 def table_name @table_name || raise("You must specify the schema migrations table_name") end