On Thu, Jun 04, 2009 at 03:38:21PM +0200, Hermida, Leandro wrote:
> If I try like the documentation says to do in create() with a has_one
> relationship, with an arrayref of hashrefs:
arrayref is for has_many.
For might_have/belongs_to/has_one there's only one so you just pass a
hashref.
If the docs don't make this clear, please supply a patch :)
--
Matt S Trout Catalyst and DBIx::Class consultancy with a clue
Technical Director and a commit bit: http://shadowcat.co.uk/catalyst/
Shadowcat Systems Limited
mst (@) shadowcat.co.uk http://shadowcat.co.uk/blog/matt-s-trout/
_______________________________________________
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]