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.

Andrew Roth's latest activity

Tuesday, August 18 2009
2506 models are not loaded in migrations when config.threadsafe! is set was updated in Ruby on Rails
  • Andrew Roth
    Andrew Roth commented at 3:45 AM

    What I mean is that right now, people are writing migrations that access models. I've done it myself when using a legacy database to get a table name, ex. add_c...

Tuesday, July 28 2009
2506 models are not loaded in migrations when config.threadsafe! is set was updated in Ruby on Rails
  • Andrew Roth
    Andrew Roth commented at 9:43 PM

    Regardless, you said yourself it at least doesn't make sense. But it would make every migration that accesses a model invalid for any application that uses thre...

  • Andrew Roth
    Andrew Roth commented at 8:20 PM

    heh.

  • Andrew Roth
    Andrew Roth commented at 8:19 PM

    Wouldn't that break lots of existing migrations?

    What about making threadsafe! not be applied when doing migrations? Even if it's set in the config file. It rea...

Thursday, April 16 2009
2506 models are not loaded in migrations when config.threadsafe! is set was created in Ruby on Rails
  • Andrew Roth
    Andrew Roth created the ticket at 4:14 AM
    • Make a new rails project
    • Make a new model, and refer to the model somewhere in the migration
    • Enable config.threadsafe! in production mode, and migrate in produ...
Tuesday, April 14 2009
2362 has many through eager loading problem was updated in Ruby on Rails
Saturday, February 07 2009
1902 establish_connection does not support joins was created in Ruby on Rails
  • Andrew Roth
    Andrew Roth created the ticket at 4:05 AM

    Hello,

    I have a situation where I need to use a legacy database. I'm finding establish_connection is not adequate to use all of the active record features, for ...