Added New Column into database but couldn't retrieve the data..
Hi base rails,
I'm currently exploring further into rails databases and I'm just learning into adding new fields / destroying new fields... I know that this function will be used frequently as the site is not fully confirmed yet..
Anyways heres my question..
1. I want to add new fields into my current database...
I know the answer is
rails generate migration AddSomethingtoDatabasename fieldname:integer
it works but after adding I couldn't retrieve my data... What am I doing wrong? Any ruby experts out there please help me...
Posted over 4 years ago by