I've got some problems with my seeds.rb file in my ruby on rails application.
Wen I prefill the database with the seeds.rb file I got this error when I start my application:
incompatible character encodings: UTF-8 and ASCII-8BIT
But the seeds.rb file is utf8 ... When I preffil with phpmyadmin all works fine.
Second Problem is how can I prefill a table which dosn't has a model?
Aucun commentaire:
Enregistrer un commentaire