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.

Anthony Crumley's latest activity

Tuesday, May 05 2009
2596 :include and nested conditions hash was updated in Ruby on Rails
  • Anthony Crumley
    Anthony Crumley commented at 2:28 AM

    After thinking on it a while, the following may be a better solution. I added a tables_in_hash method to handle the hash case.

    Please take a look and see if thi...

Monday, May 04 2009
2596 :include and nested conditions hash was updated in Ruby on Rails
  • Anthony Crumley
    Anthony Crumley commented at 8:20 PM

    The problem is that it would not be able to tell the difference between column names from the find model and table names from included models. They both can app...

  • Anthony Crumley
    Anthony Crumley commented at 6:55 PM

    Whoops, here is the patch.

  • Anthony Crumley
    • Tag set to patch
    by Anthony Crumley at 6:50 PM

    The issue here is that the include table is not recognized as being in the conditions. The code that identifies the tables in conditions is expecting strings in...

2603 Use of #tap before requiring Active Support breaks on Ruby 1.8.6 was updated in Ruby on Rails
  • Anthony Crumley
    Anthony Crumley commented at 6:21 AM

    Here is a slightly different solution that eliminates the global variable but results in creating an extra array.