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.

Jaime Bellmyer's latest activity

Wednesday, June 03 2009
2086 Primary key on HABTM join table now raises an exception was updated in Ruby on Rails
  • Jaime Bellmyer
    Jaime Bellmyer commented at 6:04 PM

    Is there anything I can/should be doing to move this ticket forward? I really think it's a valuable contribution, and I'd like to see it in Rails.

Monday, March 09 2009
2086 Primary key on HABTM join table now raises an exception was updated in Ruby on Rails
  • Jaime Bellmyer
    Jaime Bellmyer commented at 6:35 PM

    The results of the primary key check are now cached, to save processing time on subsequent inserts. I also added a test which verifies this behavior. I moved th...

  • Jaime Bellmyer
    Jaime Bellmyer commented at 3:39 PM

    I've rebased, and attached the updated patch file, patch-2086b.diff. I'll look into caching today, but I wanted to correct the conflict right away.

Monday, March 02 2009
2086 [PATCH] Primary key on HABTM join table now raises an exception was updated in Ruby on Rails
  • Jaime Bellmyer
    Jaime Bellmyer commented at 6:48 AM

    Thanks for the feedback! @Michael: I picked the best single point of failure, in my opinion. Creating is where the error occurs, and raising an exception on cre...

Saturday, February 28 2009
2096 Added select method tests to form_helper_test.rb was updated in Ruby on Rails
  • Jaime Bellmyer
    Jaime Bellmyer commented at 5:28 PM

    this looks great! +1 from me. The tests make sense for shoring up rails, and they pass.

  • Jaime Bellmyer
    Jaime Bellmyer commented at 2:02 AM

    I think the patch needs to be updated with an e-mail address. I received this message when I tried to apply it per lighthouse instructions:

    
    rails>git am < .....
Friday, February 27 2009
2089 Add AR::Base#just_created? to differentiate records was updated in Ruby on Rails
  • Jaime Bellmyer
    Jaime Bellmyer commented at 6:12 AM

    Sorry, my post above started with "+1", but formatting seems to have mangled it. +1

  • Jaime Bellmyer
    Jaime Bellmyer commented at 6:10 AM
    1. It includes/passes tests, and works as advertised, and seems to stick with rails conventions. At first I didn't see the usefulness, but I have to admit after t...
Thursday, February 26 2009
2068 [PATCH] HABTM Relationships Fail When Join Table has Primary Key was updated in Ruby on Rails
  • Jaime Bellmyer
    Jaime Bellmyer commented at 4:54 PM

    Can somebody with permissions please kill this ticket? I recently learned that this solution is not what the rails community wants. It's based on the legacy use...

2086 [PATCH] Primary key on HABTM join table now raises an exception was created in Ruby on Rails
  • Jaime Bellmyer
    Jaime Bellmyer created the ticket at 4:24 PM

    Join tables for has_and_belongs_to_many relationships are not supposed to have primary keys. This is mentioned in a few places in the documentation, but remains...