Hi, I'm a Java/J2EE developer that is new to Rails. I've read through most of _AWD with Rails_ so that I have a basic understanding of what Active Record can do. I've also done a bit of reading up on the switch to RESTful controllers in Rails 2.0.
I'm developing an app in Rails 2.0.2 with Ruby 1.8.6. I noticed that static scaffolding generates logic in the controllers that modifies the database such as @myActiveRecord.save (likewise for update_attributes and destroy). The Rails API saith that save and destroy will be wrapped in a transactional context, but what about update? Is that automatically transactional? If not, then to this Java developer's eyes, this seems to be a mistake.
Regards, Alan