I found this Error when call save method
My Rails Envi: Rails 3.2.5, sqlite 3.7.12 (in GemFile 1.3.6), latest ActiveRecord
Thanks You in Advance.
I found this Error when call save method
My Rails Envi: Rails 3.2.5, sqlite 3.7.12 (in GemFile 1.3.6), latest ActiveRecord
Thanks You in Advance.
Copyright © 2021 Jogjafile Inc.
ActiveRecord and newer versions of SQLite both support nested transactions, but the AR/SQLite adapter does not.
Further reading:
https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/6307 http://stackoverflow.com/questions/4153719/rails-3-nested-transactions-exception-in-a-child-block
A surprising omission from the docs, given that SQLite is the default DB!