Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Jens's latest activity

Sunday, August 22 2010
5428 establish_connection causes ActiveRecord::StatementInvalid: SQLite3::BusyExce... was updated in Ruby on Rails
  • Jens
    Jens commented at 11:37 PM

    That is, if First, and Second inherit from Legacy.

  • Jens
    Jens commented at 11:19 PM

    This 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
    Jens commented at 11:05 PM

    What 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
    Jens created the ticket at 10:49 PM

    In Rails 2.3.8

    With the configuration below (and rails project attached)

    Second.create fails with Sqlite3::BusyException.

    Removing establish_connection, it wi...