The ActiveRecord::Transaction does not work with sqlite3? I try the next code. ----- User.transaction do User.create!(:email => "foo") User.create!() end ----- The User should have the email field, and others are optional. I expect this code creates no User entry on db (because the second creation fails -- this is checked with catching the Exception outside of the transaction block), but User.count is 1 (I am sure that User.count is 0 before executing this). Do I misunderstand the notion of transaction? or Do I make some mistake? Thanks in advance. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.