Jens
Not a member
Jens's latest activity
Sunday, August 22 2010
5428
establish_connection causes ActiveRecord::StatementInvalid: SQLite3::BusyExce...
was updated
in Ruby on Rails
-
-
Jens commented at 11:19 PMThis willa ctually fix it. Maybe this should close the "bug"?
class Legacy < ActiveRecord::Base
establish_connection :some_other_db self.abstract_class = true e... -
Jens commented at 11:05 PMWhat i can conclude is that since I use establish_connection in all models, they will not share connection pools at all. Even though they could (since they conn...
-
Jens created the ticket at 10:49 PMIn Rails 2.3.8
With the configuration below (and rails project attached)
Second.create fails with Sqlite3::BusyException.
Removing establish_connection, it wi...