James Badger
Not a member
James Badger's latest activity
Thursday, December 16 2010
6147
find_or_create via has_many fails for hash parameters
was updated
in Ruby on Rails
-
James Badger commented at 2:02 AMhttps://gist.github.com/742909
Here is my patch, which (as the test case shows) attempts to fix a few scenarios:
- Finding an existing model using
find_or_create...
- Finding an existing model using
Wednesday, December 15 2010
6147
find_or_create via has_many fails for hash parameters
was updated
in Ruby on Rails
-
James Badger commented at 10:25 PMI have also experienced this bug, and I am working on a patch.
I tried to use your test Brandon, but I was unable to properly set the 'type' attribute for the C...