S
Sholto Douglas
Hello all,
I habe the follow Migration Script:
class ImportFirmen < ActiveRecord::Migration
def self.up
f =3D Mitarbeiter.findall, :select =3D> :Firma, :group =3D> =
:Firma)
f.each do |ff|
Firma.createdescription =3D> 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?
I habe the follow Migration Script:
class ImportFirmen < ActiveRecord::Migration
def self.up
f =3D Mitarbeiter.findall, :select =3D> :Firma, :group =3D> =
:Firma)
f.each do |ff|
Firma.createdescription =3D> 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?