Re: Rose::DB::Object::Cached and alternate column method names

3 views
Skip to first unread message

John Siracusa

unread,
Nov 14, 2009, 11:40:27 AM11/14/09
to rose-db...@googlegroups.com
On Sat, Nov 14, 2009 at 2:35 AM, Kevin McGrath <kmcg...@baknet.com> wrote:
> Also, when using an alias on a primary or unique key
> Rose::DB::Object::Cached breaks.  Cached does not use the mutator methods
> when getting the primary or unique keys and an error is thrown because the
> correct functions are not being called.

Your patch was a bit off (accessors are used to get values, mutators
are used to modify them) but the bug you found was real. I've just
checked in a fix. Let me know if it works for you.

-John

Kevin McGrath

unread,
Nov 14, 2009, 12:08:55 PM11/14/09
to rose-db...@googlegroups.com
looks good!

Thanks,
Kevin
Reply all
Reply to author
Forward
0 new messages