How to name foreign keys in RoR?
I used the following command to give the foreign key:
rails generate scaffold Table2 id:integer Table1:references this The command adds the foreign key
How to name foreign keys in RoR?
I used the following command to give the foreign key:
rails generate scaffold Table2 id:integer Table1:references this The command adds the foreign key