Adam Herzog wrote: > On Jun 13, 2007, at 12:57 PM, Christopher H. Laco wrote: >>> Since relationships are really inflators, I'd say this is the source of >>> the change. I could be wrong. > > I didn't realize that the belongs_to relationship was using > inflate_column; I'd thought it was, well... different. > > mst pointed out that if I set the accessor to 'single' in the > relationship, then it won't use inflate_column. That works just fine – > both the column accessor (author_id) and the relationship (author) work > as I would have expected. > >> And this is a real bug fix, not really a regression. accessors + >> inflated columns (or relationships) has never worked correctly together. > > It may have been a bug, but I was taking full advantage of it. :)
Yeah, that happens sometimes. I never knew it was even broken, and mst made me fix it before he'd let me add get_inflated_columns. :-) -=Chris
signature.asc
Description: OpenPGP digital signature
_______________________________________________ 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]/
