I am preparing some seed data for a deployment from generated a CSV
file.  However, one of the model's columns ( child_id) needs to have a
null value in on a few of the rows where there is no Child instance.
Whatever I have put in there, it seems to just come in as a zero.

I have tried several combinations since I cannot find this documented
anywhere.

column1, child_id, column2
a,,b        gives |a|0|b|
a, null, b gives |a|0|b|
a, "", b    gives |a|0|b|
a, nil, b   gives  |a|0|b

Any ideas?

Thanks.

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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to