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.

Luke Mcildoon's latest activity

Tuesday, December 22 2009
3600 has_many :through association.build doesn't create the :through models was updated in Ruby on Rails
  • Luke Mcildoon
    Luke Mcildoon commented at 2:04 AM

    The patch I made has caused a test to fail, so I'm assuming this behaviour is by design. Please ignore/close this ticket.

Saturday, December 19 2009
3600 has_many :through association.build doesn't create the :through models was updated in Ruby on Rails
  • Luke Mcildoon
    Luke Mcildoon commented at 7:38 AM

    It looks like this can be fixed in set_belongs_to_association_for in lib/active_record/associations/association_proxy.rb. Before I submit a patch, is this the b...

  • Luke Mcildoon
    Luke Mcildoon created the ticket at 3:21 AM

    Using build on a has_many :through association doesn't create the :through models, though the "end" model is created.

    Example code and script/console demonstrat...