Re: [Dbix-class] create failures with has_one

2009-10-15 Thread Wallace Reis
On 14/10/2009, at 13:10, Dermot wrote: DBIx::Class::ResultSet::update_or_create(): Object ARRAY(0x8f3f7a8) isn't a My::Schema::MotionDB:: I created a small test to see if I could narrow it down but that is throwing this exception: DBIx::Class::ResultSet::update_or_create(): DBI Exception: DBD::

Re: [Dbix-class] create failures with has_one

2009-10-15 Thread Wallace Reis
On 15/10/2009, at 08:34, Dermot wrote: 2009/10/15 Wallace Reis : On 14/10/2009, at 13:10, Dermot wrote: my $record = { 'validation_pass' => 1, 'files' => [], 'active' => 1, 'name' => 'Gustav MR', 'clipdata' => [ {