From 4d33b491e02bbf5537236b17af0966626d60a5e4 Mon Sep 17 00:00:00 2001 From: Zoffix Znet Date: Fri, 22 Jan 2021 22:35:14 -0500 Subject: [PATCH] Fix documentation typo --- lib/DBIx/Class/Relationship/Base.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/DBIx/Class/Relationship/Base.pm b/lib/DBIx/Class/Relationship/Base.pm index ba1b06559..c1f5c27ff 100644 --- a/lib/DBIx/Class/Relationship/Base.pm +++ b/lib/DBIx/Class/Relationship/Base.pm @@ -334,7 +334,7 @@ Then, assuming MyApp::Schema::LinerNotes has an accessor named notes, you can do For a 'belongs_to relationship, note the 'cascade_update': - MyApp::Schema::Track->belongs_to( cd => 'MyApp::Schema::CD', 'cd, + MyApp::Schema::Track->belongs_to( cd => 'MyApp::Schema::CD', 'cd', { proxy => ['title'], cascade_update => 1 } ); $track->title('New Title');