From: luke saunders Date: Mon, 2 Nov 2009 16:31:56 +0000 (+0100) Subject: belongs_to attribute should always be inherited and on by default X-Git-Tag: 1.001011~18 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=14e0a20413e624ecb505b39e8681b654430ce6e8;p=dbsrgits%2FDBIx-Class-Fixtures.git belongs_to attribute should always be inherited and on by default --- diff --git a/lib/DBIx/Class/Fixtures.pm b/lib/DBIx/Class/Fixtures.pm index a805c96..fd96b1e 100644 --- a/lib/DBIx/Class/Fixtures.pm +++ b/lib/DBIx/Class/Fixtures.pm @@ -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 => {} diff --git a/t/var/DBIxClassDifferent.db b/t/var/DBIxClassDifferent.db index 845ba40..ba95bdb 100644 Binary files a/t/var/DBIxClassDifferent.db and b/t/var/DBIxClassDifferent.db differ