class BigRecord::MigrationProxy
MigrationProxy is used to defer loading of the actual migration classes until they are needed
Attributes
filename[RW]
name[RW]
version[RW]
Private Instance Methods
load_migration()
click to toggle source
# File lib/big_record/migration.rb, line 188 def load_migration load(filename) name.constantize end
migration()
click to toggle source
# File lib/big_record/migration.rb, line 184 def migration @migration ||= load_migration end