Thanks for the pointer! I modified the codes.yml file to look like
this (below) and now it inserts ordered list with sequential ids. I
had to try it several times to get the spacing right.. I had two
spaces (no tabs) in front of the key:value pair initially, but it
needed four spaces instead.
=
I suppose you want use the omap YAML type. Read about it in
http://api.rubyonrails.org/classes/Fixtures.html and in
http://yaml.org/type/omap.html.
Regards.
Franco Catena.
On Jul 13, 12:34 pm, khagimoto wrote:
> Hello,
>
> I'm trying to load data into my mysql table using the following:
>
> ==
2 matches
Mail list logo