Fixed test_dirty_object and implemented transaction wrapper for Rails controller actions.