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.




Recent comments
20 hours 4 min ago
20 hours 6 min ago
1 week 5 days ago
11 weeks 5 days ago
12 weeks 3 days ago
17 weeks 5 days ago
17 weeks 5 days ago
17 weeks 5 days ago
18 weeks 3 days ago
18 weeks 3 days ago