Step 5: migration file not created


#1

Hello,

So for step 4 I ran the folowing command rails generate model Signup

the terminal output is:

invoke  active_record                          
      create    db/migrate/20161218145210_create_sign
ups.rb                                               
      create    app/models/signup.rb                 
      invoke    test_unit                            
      create      test/models/signup_test.rb         
      create      test/fixtures/signups.yml

This looks correct as far as I can see, but the migration file was not created. I've reset the project 4 or 5 times. Am I missing something or do you think there's a bug?


#2

I managed to resolve this by manually creating the migrate folder and running the command again.


#3

this might just be a performance issue.

I had the same issue on the next project. interestingly, the file is there, the tree just fails to load it:

You can see the file exists but doesn't appear in the tree


#4

@systemrunner39128 This looks like a bug to me. If you could report it to the Codecademy team (scroll down to the bottom of the instructions) so they know about it, that would be great :slight_smile:

Thanks!


#5

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.