[jifty-devel] Regarding refers_to and by on JDBI columns
Andrew Sterling Hanenkamp
sterling at hanenkamp.com
Wed Jul 18 18:07:00 EDT 2007
On 7/16/07, Jesse Vincent <jesse at bestpractical.com> wrote:
> On Jul 16, 2007, at 3:05 PM, Andrew Sterling Hanenkamp wrote:
> Automated backreferences are good, but need some thought to make them
> intuitive. (IE, I worry a bit about looking in Bar.pm for ->foo and
> not seeing it but having it autogenerated because Foo.pm has ->bar.
That was why my original suggestion was:
column foo => refers_to Jifty::Model::Foo by 'bar';
which would be similar to a Collection back-reference, but indicate a single
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the jifty-devel