Posted By

edwinjanmoss on 10/18/07


Tagged


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

shovanjoshi
webstic


Reset Model to see columns added in Migration


 / Published in: Rails
 

If you want to use the Model after adding/removing columns in a migration call this method before accessing the model.

  1. Model#reset_column_information

Report this snippet  

You need to login to post a comment.