rowland / fb

Firebird Extension Library for Ruby
64 stars 35 forks source link

Fb::Error: A transaction has been already started: begin transaction #52

Closed fwidtmann closed 7 years ago

fwidtmann commented 7 years ago

hi,

i want to switch from jruby jdbc-firebird adapter to your gem.

first error appears at saving object to database: @car.save

Fb::Error: A transaction has been already started: begin transaction

thanks for help

fwidtmann commented 7 years ago

solved: need to use ActiveRecord::Base.connection.exec_query() instead of ActiveRecord::Base.connection.execute()