On 9 December 2010 12:08, Basti Schenk <[email protected]> wrote:
> I do this: "I suggest reverting to the manual method for
> setting size_id, by providing a number for it and for the entries in
> the sizes table. "
>
> Its not nice but it works^^

Fixtures are not nice even when they work.  Maintenance is a
nightmare.  As soon as you have got it all working again then move
over to Factories.  The time you have wasted with this problem would
have been enough to have made the switch.

Finally just a note about the changes you made, you said you adjusted
the previous migrations so that running from scratch gave you the new
table names.  A better way would just have been to add a new migration
that renamed the table.

Colin

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to