Notes posted by feurio
RSS feed
0 thanks
Calling migrations within migrations observation
Following the advice from RISCfuture I could not call a migration from within another migration. I got the following errror message:
NameError Exception: uninitialized constant FixDrunkMistake::CreateExGirlfriendTexts.down
Only after I did a
require 'create_ex_girl_friend_texts' # the migration file
before the migration call did everything work as expected.