ActiveRecord, previous values? concurrency?

how does activerecord do concurrency control?

does it keep a copy of the selected database value even if it’s modified? that is how ado.net works. just wondering if activerecord does the same.

thanks

Hi El Chief,

May I know what you mean by selected values? (Are you referring the HTML form select inputs?)

i mean the values that were selected from the database

Maybe this helps you http://www.yiiframework.com/forum/index.php?/topic/5068-activerecord-and-optimistic-locking/page__p__26423__hl__optimi+tic#entry26423