Displaying 2 results from an estimated 2 matches for "belongs_to_associations_test".
2008 May 07
1
Assigning to the foreign key on a belongs_to association
...end
+
define_method("set_#{reflection.name}_target") do |
target| return if target.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 BelongsToAssociati...
2010 Jun 11
5
Issues creating tables in mysql tests
...ers/pupeno/.rvm/gems/ruby-1.8.7-p174@global/gems/rake-0.8.7/lib/rake/rake_test_loader.rb"
"test/cases/active_schema_test_mysql.rb" "test/cases/adapter_test.rb"
"test/cases/aggregations_test.rb" "test/cases/ar_schema_test.rb"
"test/cases/associations/belongs_to_associations_test.rb"
"test/cases/associations/callbacks_test.rb"
"test/cases/associations/cascaded_eager_loading_test.rb"
"test/cases/associations/eager_load_includes_full_sti_class_test.rb"
"test/cases/associations/eager_load_nested_include_test.rb"
"test/cases/ass...