Class: ActiveRecord::Migration::Current

Inherits:
ActiveRecord::Migration show all
Defined in:
activerecord/lib/active_record/migration.rb

Overview

This must be defined before the inherited hook, below

Direct Known Subclasses

Schema

Constant Summary

Constants inherited from ActiveRecord::Migration

MigrationFilenameRegexp

Instance Attribute Summary

Attributes inherited from ActiveRecord::Migration

#name, #version

Instance Method Summary collapse

Methods inherited from ActiveRecord::Migration

[], #announce, check_pending!, check_pending_migrations, #connection, #copy, current_version, #disable_ddl_transaction, disable_ddl_transaction!, #down, #exec_migration, #execution_strategy, inherited, #initialize, load_schema_if_pending!, maintain_test_schema!, method_missing, #method_missing, migrate, #migrate, nearest_delegate, #next_migration_number, #proper_table_name, #reversible, #revert, #reverting?, #run, #say, #say_with_time, #suppress_messages, #table_name_options, #up, #up_only, valid_version_format?, #write

Constructor Details

This class inherits a constructor from ActiveRecord::Migration

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ActiveRecord::Migration

Instance Method Details

#compatible_table_definition(t) ⇒ Object

:nodoc:



562
563
564
# File 'activerecord/lib/active_record/migration.rb', line 562

def compatible_table_definition(t)
  t
end