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.

bentlegen's latest activity

Thursday, February 19 2009
610 ActiveRecord to_json doesn't invoke :include's to_json was updated in Ruby on Rails
  • bentlegen
    bentlegen commented at 4:02 AM

    This is still an open issue for our team. Please consider re-opening.

Monday, May 19 2008
220 habtm: collection.build doesn't build join associations (unlike collection.cr... was updated in Ruby on Rails
  • bentlegen
    bentlegen commented at 4:20 AM

    Thanks for the explanation Chris - I understand now.

    Still, it seems odd to me that these two code examples behave differently:

    project = user.project.build
    ...
  • bentlegen
    bentlegen commented at 3:51 AM

    activerecord (2.0.2)

    The problem is that, even if I call #save after #build, the associations aren't saved in the join table. The AR documentation suggests th...

Sunday, May 18 2008
220 habtm: collection.build doesn't build join associations (unlike collection.cr... was created in Ruby on Rails
  • bentlegen
    bentlegen created the ticket at 8:51 PM

    I have a habtm relationship between two models. When I try to #build one object through the collection helper of a record that persists in the database, it doe...