Class: Nochmal::MigrationData::Meta
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Nochmal::MigrationData::Meta
- Defined in:
- lib/nochmal/migration_data/meta.rb
Overview
Track the status of the whole migration
Instance Method Summary collapse
Instance Method Details
#done? ⇒ Boolean
11 12 13 |
# File 'lib/nochmal/migration_data/meta.rb', line 11 def done? status.to_s == "done" end |
#to_s ⇒ Object
15 16 17 18 19 20 |
# File 'lib/nochmal/migration_data/meta.rb', line 15 def to_s [ record_type, "#", uploader_type, ": ", migrated, "/", expected, " -> ", status ].join end |