create_table "domains", :force => true do |t|
t.string "column1"
t.integer "child_id"
t.string "column2"
t.datetime "created_at"
t.datetime "updated_at"
end
so there is nothing in there but a good suggestion to check first.
Looks like 0 is the default value for integer and there is no way of
specifying NULL.
I can set up a workaround by adding another step in seeds to set all
of the 0 values to NULL since I do not have any defined child_id's of
0.
I will have a look in the Fixtures code to see what is happening on
this when I get the chance.
O.
--
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.