Rails 2.1 Gotcha: Serialized Columns Not Updated On Save
Patrick McKenzie discovered, the hard way, that serialized columns are not updated on save with Rails 2.1 since amended hashes are not seen as "dirty." He presents some workarounds.
New to Rails 3? Check out the Ruby on Rails 3 Tutorial book and screencast.
A book and screencast series showing you how to develop and deploy industrial-strength Rails apps in a direct, step by step way. The screencast series includes 12 lessons over more than 15 hours! Get the best "over the shoulder" experience of following what a top Rails 3 developer does when building an app today. Click here to learn more.
Patrick McKenzie discovered, the hard way, that serialized columns are not updated on save with Rails 2.1 since amended hashes are not seen as "dirty." He presents some workarounds.