/ Published in: Rails
If you want to use the Model after adding/removing columns in a migration call this method before accessing the model.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
Model#reset_column_information