In the latest video from Intro to Rails workshop (Rails Models) we run the CreateDecks migration and then proceed to create our deck model (Deck class). Immediately after this,when in the rails console, our model is already associated with our migration without requiring any action from us, so my question is, how is this association being made? Is it through the class/file names?
My best guess is that CreateDecks migration will be associated with the Deck model, is this correct?
Thanks in advance