[Rails] ActiveRecord and data integrity

David Heinemeier Hansson david at loudthinking.com
Mon Nov 22 22:01:39 GMT 2004


> Is there anything in ActiveRecord that selects data and then runs 
> inserts or updates based on information retrieved during select?

Nothing that isn't run within a transaction (if you should find 
otherwise, it's a bug to report). If you run MyISAM, you've chosen not 
to care about such things and will have to do LOCK TABLE and friends 
manually.
--
David Heinemeier Hansson,
http://www.basecamphq.com/   -- Web-based Project Management
http://www.rubyonrails.org/  -- Web-application framework for Ruby
http://macromates.com/       -- TextMate: Code and markup editor (OS X)
http://www.loudthinking.com/ -- Broadcasting Brain



More information about the Rails mailing list