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.

clocksarestupid's latest activity

Monday, August 30 2010
5504 ActiveSupport 3.0 is broken outside of Rails was created in Ruby on Rails
  • clocksarestupid
    clocksarestupid created the ticket at 10:26 PM

    Summary:
    ActiveSupport 3.0 doesn't load properly outside of Rails 3.0.

    Steps to Reproduce:
    $> echo "require 'active_support';''.blank?" | ruby -r rubygems

    Does ...

Tuesday, July 27 2010
5181 ActiveRecord 3 Regression: Certain includes hashes fail on AR3 that work on AR2. was updated in Ruby on Rails
  • clocksarestupid
    • Tag changed from activerecord rails3, regression to activerecord rails3, patch activerecord, fix, fixed, regression
    by clocksarestupid at 10:14 PM
  • clocksarestupid
    clocksarestupid commented at 12:25 AM

    I've got the fix. There was an incorrect equality check in the joins that was excluding the last join. I've attached a patch that fixes the problem and also add...

Monday, July 26 2010
5181 ActiveRecord 3 Regression: Certain includes hashes fail on AR3 that work on AR2. was updated in Ruby on Rails
  • clocksarestupid
    clocksarestupid commented at 9:16 PM

    So it's missing a join table. In Rails 2.3.x it has 3 joins that it's performing and in Rails 3 it's missing one.

    I've attached a simple file that is easier to ...

  • clocksarestupid
    clocksarestupid commented at 9:03 PM

    Neeraj, change your query to the following:

    Project.includes([{:tasks => :users}, :tasks]).where({:users => {:name => 'John2'}})

    Then it should fail.

Thursday, July 22 2010
5181 ActiveRecord 3 Regression: Certain includes hashes fail on AR3 that work on AR2. was created in Ruby on Rails
  • clocksarestupid
    clocksarestupid created the ticket at 10:58 PM

    Given the following setup:

    Book
    - name

    Author
    - first_name - last_name

    Page
    - page_number - content

    And the following relationships:

    Author has many Books
    Book ...