>>>>> "Dermot" == Dermot  <[email protected]> writes:

    Dermot> Oh! Should I be using the name of the accessor_name from the
    Dermot> belongs_to?

Precisely, if it's a "belongs_to" you want to pass it a hashref, if it's
a "has_many" you want to pass it an arrayref of hashrefs.

-- 
   Eden Cardim       Need help with your Catalyst or DBIx::Class project?
  Code Monkey                    http://www.shadowcat.co.uk/catalyst/
 Shadowcat Systems Ltd.  Want a managed development or deployment platform?
http://edenc.vox.com/            http://www.shadowcat.co.uk/servers/


_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[email protected]

Reply via email to