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.

Chris Your's latest activity

Friday, April 08 2011
6680 Has_many :through _ids not passing conditions to SQL was updated in Ruby on Rails
  • Chris Your
    Chris Your commented at 6:22 PM

    I took a look at Rails Master. Looks awesome. Lots of changes.

    I'll have to checkout master to see if the CollectionAssociation#reader_ids fixes this little bit...

  • Chris Your
    Chris Your commented at 5:12 PM

    Hi Anatoliy,

    Thanks for the advice. I haven't contributed to Rails' source before...

    Scoped on the through object's reflection doesn't have the where conditions...

  • Chris Your
    Chris Your commented at 4:21 PM

    I took a look at ActiveRecord-3.0.6 in associations.rb redefine_method("#{reflection.name.to_s.singularize}_ids") on line 1492. As far as I can see, the _ids me...

Thursday, April 07 2011
6680 Has_many :through _ids not passing conditions to SQL was created in Ruby on Rails
  • Chris Your
    Chris Your created the ticket at 2:55 AM

    Hi everyone,

    First off, I love Rails. It's a fantastic framework.

    So on to this possible bug...

    Say I have a Book model with many authors through an AuthorAssig...