reset rails model column cache in migration

/ Published in: Ruby
Save to your folder(s)

Copy this code and paste it in your HTML
  1. Product.reset_column_information # this can be used when changing table and then doing something in the migration

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.