hjdivad
Not a member
hjdivad's latest activity
Thursday, September 02 2010
-
hjdivad commented at 7:31 PMNeeraj,
The test for invoking association.reload was to handle the following case,
exhibited in a test in test/cases/associations/belongs_to_association_test.rb...
Wednesday, September 01 2010
-
hjdivad commented at 12:08 AMNeeraj,
Thank you for looking into this.
Your code above does not test the problem: there, you have a has_one (dashboard)
through a has_one(speedometer).If you...
Monday, July 26 2010
-
-
hjdivad commented at 6:38 PMI'm fairly sure the linked commit actually resolves 5173, and not this bug.
Saturday, July 17 2010
-
hjdivad commented at 4:27 AMIn case it's not clear, the patch handles the test_forgetting_the_load_when_foreign_key_enters_late test (as well as the rest of the activerecord test suite, at...
-
hjdivad commented at 4:26 AMThe above test fails in the block because the association proxy is nil, because
of the following code:# 38f1ea8fe267947f4baf832d3b15ee5b83f18f71 # ass... -
hjdivad commented at 4:20 AM -
hjdivad created the ticket at 4:18 AMThe following test should illustrate the problem:
class Minivan < ActiveRecord::Base set_primary_key :minivan_id belongs_to :speedometer ...
Thursday, July 15 2010
-
- Tag changed from activesupport, callbacks to activesupport, callbacks, patch
I have uploaded a better patch than the original, and also updated the git
branch. My original patch broke callbacks with :before and :around with
:rescuable =>...
Monday, July 12 2010
-
- Title changed from ActiveSupport::Callbacks :rescuable => true does not work for errs in :before callbacks [Patch] to ActiveSupport::Callbacks :rescuable => true does not work for errors in :before callbacks [Patch]