Re: How well does Rails handle brownfield data in a greenfie

Roderick van Domburg
2009-05-23T10:59:06Z

Brendon Whateley wrote:
> 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.

+1. Mapping legacy IDs onto default Rails IDs will bite.

--
Roderick van Domburg
http://www.nedforce.com
--
Posted via http://www.ruby-forum.com/.