Rails 2.1 Bugs: Partial Updates Failure

My first web application upgraded to Rails 2.1 completely broke due to partial updates. For some reason, which I’m certainly willing to consider is some plugin or custom code, none of my changed objects ever reported that they were changed. And thus everytime an object was saved no new information was actually placed into the database. I’ve fixed the application by disabling partial updates with “ActiveRecord::Base.partial_updates = false” in environment.rb. Maybe in the future I’ll look into this issue further. Or perhaps I’ll wait for someone else to find it, resolve it, and simply copy the fix. It’s not a feature I need though it would be nice to have.

Update: It seems as though the problem was due to the flextimes plugin. I documented my discovery, changes, and lessons learned in Lessons for Rails: Pay attention to plugins and test everything.

Trackback URL for this post:

http://hightechsorcery.com/trackback/150
Creative Commons License Except where otherwise noted, content on this site is licensed under a Creative Commons by-nc-sa 3.0 License