views:

94

answers:

0

Using ruby 1.9.2 and Rails 3 I get an encoding error when I try to run this in seeds.rb:

Fixtures.create_fixtures("#{Rails.root}/db/seed", "countries")

I am sure the .csv file is encoded in UTF-8 and it can be read and parsed using ruby's CSV class. Is this a Rails 3 encoding issue with fixtures?