Re: How well does Rails handle brownfield data in a greenfield application?

Brendon
2009-05-23T02:22:56Z

Be very careful doing this.  When you change assumed Rails conventions
and behavior, it tends to bite you in unexpected ways.  While you can
override the ID column, I''d suggest not doing it.

I''d seriously just let Rails add an extra ID column and put the big
table in other columns.  The cost is small and you are not potentially
breaking future Rails stuff.

On May 22, 10:32 am, Wayne Molina
<wayne.mol...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:
> The SKU would be a separate field in and of itself, what I''m
saying is
> the numeric ID (what Rails would set as an autoincrement) is pre-
> assigned from the data instead of being assigned automatically from
> Rails.