Hello all,
I habe the follow Migration Script:
class ImportFirmen < ActiveRecord::Migration
def self.up
f = Mitarbeiter.find(:all, :select => :Firma, :group => :Firma)
f.each do |ff|
Firma.create(:description => ff.Firma)
print “\n”
end
end
def self.down
Firma.delete_all
end
When i use the rake db:migrate command, the German Umlauts will show as
? and write it so in the Database
In the Console this will work fine.
Any Ideas?
Debian 6, ruby 1.8.7, rails 2.3.5, rake 0.9.1