Class: ActiveRecord::MigrationProxy
| Relationships & Source Files | |
| Inherits: | Struct 
 | 
| Defined in: | activerecord/lib/active_record/migration.rb | 
Overview
MigrationProxy is used to defer loading of the actual migration classes until they are needed
Class Method Summary
Instance Attribute Summary
- #announce readonly
- #disable_ddl_transaction readonly
- 
    
      #filename  
    
    rw
    MigrationProxyis used to defer loading of the actual migration classes until they are needed.
- #migrate readonly
- 
    
      #name  
    
    rw
    MigrationProxyis used to defer loading of the actual migration classes until they are needed.
- 
    
      #scope  
    
    rw
    MigrationProxyis used to defer loading of the actual migration classes until they are needed.
- 
    
      #version  
    
    rw
    MigrationProxyis used to defer loading of the actual migration classes until they are needed.
- #write readonly
Instance Method Summary
Constructor Details
    .new(name, version, filename, scope)  ⇒ MigrationProxy 
  
Instance Attribute Details
#announce (readonly)
[ GitHub ]# File 'activerecord/lib/active_record/migration.rb', line 1190
delegate :migrate, :announce, :write, :disable_ddl_transaction, to: :migration
#disable_ddl_transaction (readonly)
[ GitHub ]#filename (rw)
MigrationProxy is used to defer loading of the actual migration classes until they are needed
#migrate (readonly)
[ GitHub ]# File 'activerecord/lib/active_record/migration.rb', line 1190
delegate :migrate, :announce, :write, :disable_ddl_transaction, to: :migration
#name (rw)
MigrationProxy is used to defer loading of the actual migration classes until they are needed
#scope (rw)
MigrationProxy is used to defer loading of the actual migration classes until they are needed
#version (rw)
MigrationProxy is used to defer loading of the actual migration classes until they are needed
#write (readonly)
[ GitHub ]# File 'activerecord/lib/active_record/migration.rb', line 1190
delegate :migrate, :announce, :write, :disable_ddl_transaction, to: :migration