belongs_to attribute should always be inherited and on by default
luke saunders [Mon, 2 Nov 2009 16:31:56 +0000 (17:31 +0100)]
lib/DBIx/Class/Fixtures.pm
t/var/DBIxClassDifferent.db

index a805c96..fd96b1e 100644 (file)
@@ -422,7 +422,7 @@ sub new {
 
   my $self = {
               config_dir => $config_dir,
-              _inherited_attributes => [qw/datetime_relative might_have rules/],
+              _inherited_attributes => [qw/datetime_relative might_have rules belongs_to/],
               debug => $params->{debug} || 0,
               ignore_sql_errors => $params->{ignore_sql_errors},
               dumped_objects => {}
index 845ba40..ba95bdb 100644 (file)
Binary files a/t/var/DBIxClassDifferent.db and b/t/var/DBIxClassDifferent.db differ