Re: postgres adapater problem with create_table :id => false

Marnen Laibow-Koser
Fri, 18 Sep 2009 02:28:01 -0000

Howard Yeh wrote:
> On Sep 17, 2:13 pm, Marnen Laibow-Koser <rails-mailing-l...@andreas-
> s.net> wrote:
>>
>> > The association has the bag semantics.
>>
>> I''m not familiar with that term.  What do you mean?
>>
>
> It just means under a key there can be many items.

Yeah, I looked up the term after I responded.

> That''s exactly what
> I want, and it seems silly to have a primary key I don''t use.

But you *will* be using the primary key, I think.  How will you be using
the data in this table?

> But
> nevermind that, if rails insists, so be it.

Well, it certainly won''t hurt anything, and it will make database
administration a lot easier, in addition to making Rails happier.

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org
--
Posted via http://www.ruby-forum.com/.