[Dbix-class] 0.08 Regression?
Christopher H. Laco
claco at chrislaco.com
Wed Jun 13 19:24:43 GMT 2007
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 =96
> 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. :-)
-=3DChris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: OpenPGP digital signature
Url : http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20070613/b4=
80580a/signature.pgp
More information about the Dbix-class
mailing list