Skip to content

Instantly share code, notes, and snippets.

@rickarubio
Created February 20, 2014 23:10
Show Gist options
  • Save rickarubio/9125269 to your computer and use it in GitHub Desktop.
Save rickarubio/9125269 to your computer and use it in GitHub Desktop.
When I call update_attributes on an instance, the database record is updated, but the instance does not have the updated information.
The answer is here:
http://stackoverflow.com/questions/6289531/rails-3-ar-save-and-update-methods-do-not-save-attributes-changed-in-database-b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment