On Fri, Jun 22, 2007 at 06:55:30AM -0700, Matt Rosin wrote:
> Hello,
> 
> I'm curious about why object inflation isn't working with might_have or 
> has_one, but it does with belongs_to. Any ideas? Maybe I need another join 
> (adding this comment at the end)?
> After solving it with a hack (use get_column and then model->find using that 
> id), I discovered that not using belongs_to would cause inflation to stop 
> working.

It works perfectly well for everybody else :)

Any chance you could post the whole of the classes rather than snippets, and
a short piece of perl code plus results that illustrates the problem? I
suspect you're just confused about something but without the whole of the
schema setup I can't work out which something that is :)

-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director    Want a managed development or deployment platform?
 Shadowcat Systems Ltd.  Contact mst (at) shadowcatsystems.co.uk for a quote
http://chainsawblues.vox.com/             http://www.shadowcatsystems.co.uk/ 

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

Reply via email to