search for: c130db2

Displaying 1 result from an estimated 1 matches for "c130db2".

Did you mean: c13012
2008 May 07
1
Assigning to the foreign key on a belongs_to association
...get.nil? and association_proxy_class == BelongsToAssociat association = association_proxy_class.new(self, reflection) diff --git a/activerecord/test/cases/associations/ belongs_to_associations_test.rb b/activerecord/test/cases/associations/ belongs_to_associations_test.rb index b8ec911..c130db2 100644--- a/activerecord/test/cases/ associations/belongs_to_associations_test.rb +++ b/activerecord/test/cases/associations/ belongs_to_associations_test.rb @@ -45,6 +45,13 @@ class BelongsToAssociationsTest < ActiveRecord::TestCase assert_equal apple.id, citibank.firm_id end + def te...