Ruby Active Record Associations in Rails More Association Options A Migration for a Polymorphic Association

Is this challenge broken?

I'm putting in:

bin/rails g migration AddVehicleToPart vehicle_id:integer vehicle_type:string

which should be correct as far as I can tell, but it is not accepted.

1 Answer

I realized my own mistake. I was using singular for the table when I needed to be using plural.

bin/rails g migration AddVehicleToParts vehicle_id:integer vehicle_type:string