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.

There was a problem

You must be a member of this account.

Peer Allan's latest activity

Tuesday, March 08 2011
6157 ActiveRecord scope class method requires a database connection was updated in Ruby on Rails
  • Peer Allan
    Peer Allan commented at 5:40 PM

    Attached is a simple gem that demonstrates the problem. Attempt to load it into a Rails 3 application and you will see the errors. Detailed instructions are sho...

  • Peer Allan
    Peer Allan commented at 2:30 PM

    My original post described a workaround for when you are encountering this problem outside a Rails app. Since then I have tried to work around this in a couple ...

Monday, December 13 2010
6157 ActiveRecord scope class method requires a database connection was created in Ruby on Rails
  • Peer Allan
    Peer Allan created the ticket at 1:46 PM

    ActiveRecord 3 based Rubygem
    At our company we had to integrate with a legacy database system. To manage it we created a nice little gem to handle it. Basically...

Sunday, October 17 2010
5831 Rails Upgrade plugin loses found results after a comment was created in Ruby on Rails
  • Peer Allan
    Peer Allan created the ticket at 8:01 PM

    In our app we used the rails_upgrade plugin to find what we needed to fix. We found that the rails:upgrade:check rake task was missing many of our named_scopes....

Tuesday, August 11 2009
3034 Rails Single Table Inheritance loading child classes was updated in Ruby on Rails
1828 ActiveResource breaks when encounters <object> tag in XML was updated in Ruby on Rails
  • Peer Allan
    Peer Allan commented at 1:53 PM

    I have to agree with both Dan and Maxim in this case (can I do that?). I don't like the idea of adding special, possibly hardcoded, handling into this. However ...

Monday, August 10 2009
430 validates_non_format_of - the converse of validates_format_of was updated in Ruby on Rails
  • Peer Allan
    Peer Allan commented at 3:18 PM

    That is exactly right, Elliot. The refactor to ActiveModel meant 2 patches, one for 2-3-stable (the first one) and one for master (the second one).

  • Peer Allan
    Peer Allan commented at 3:49 AM

    Patch for master with tests, integrated into ActiveModel

  • Peer Allan
    Peer Allan commented at 3:28 AM

    Updated patch for 2-3-stable

2389 STI changes behavior depending on environment was updated in Ruby on Rails
  • Peer Allan
    Peer Allan commented at 4:24 AM

    verified that the following the steps in the console did duplicate the problem in both master and 2-3-stable. Attempted to verify using the browser when running...