Class: ActiveRecord::MigrationProxy
- Inherits:
-
Object
- Object
- ActiveRecord::MigrationProxy
- Defined in:
- lib/imigrate/activerecord_ext.rb
Instance Method Summary collapse
-
#initialize(name, version, filename, scope) ⇒ MigrationProxy
constructor
A new instance of MigrationProxy.
Constructor Details
#initialize(name, version, filename, scope) ⇒ MigrationProxy
Returns a new instance of MigrationProxy.
5 6 7 8 9 10 11 |
# File 'lib/imigrate/activerecord_ext.rb', line 5 def initialize(name, version, filename, scope) if Imigrate.env_prefix.present? version = "#{Imigrate.env_prefix}#{version}" end super(name, version, filename, scope) end |