compositeprimarykeys is located at:
http://compositekeys.rubyforge.org/
I used an older version of the gem through several rails upgrades (1.2
-> 2.0 -> 2.1 -> 2.2) and each time things broke, requiring some
monkeypatches, but it looks like the gem has been updated to support
rails 2.2.2 now.
I
On Mon, Mar 9, 2009 at 6:48 AM, Frederick Cheung wrote:
>
>
> On 9 Mar 2009, at 11:09, engamocap wrote:
>
> >
> > Hi all,
> >
> > I have two tables:
> >
> > TABLE 1
> > A pk - fk (referencesc TABLE 2)
> > B pk
> > C pk
> > D pk
> > E
> > F
> >
> > TABLE 2
> > A pk
> > G
> > H
> > I
> > L
> >
> >
On 9 Mar 2009, at 11:09, engamocap wrote:
>
> Hi all,
>
> I have two tables:
>
> TABLE 1
> A pk - fk (referencesc TABLE 2)
> B pk
> C pk
> D pk
> E
> F
>
> TABLE 2
> A pk
> G
> H
> I
> L
>
> I don't use incremental field (id). I'd like don't use find_by_sql.
> How can I define both models to use
3 matches
Mail list logo