class ActiveRecord::MigrationProxy
MigrationProxy is used to defer loading of the actual migration classes until they are needed
Public Class Methods
# File activerecord/lib/active_record/migration.rb, line 938 def initialize(name, version, filename, scope) super @migration = nil end
Calls superclass method
Public Instance Methods
# File activerecord/lib/active_record/migration.rb, line 943 def basename File.basename(filename) end
# File activerecord/lib/active_record/migration.rb, line 947 def mtime File.mtime filename end
© 2004–2018 David Heinemeier Hansson
Licensed under the MIT License.