views:

46

answers:

0

I'm have a rails project. I'm make following: script/generate scaffold product title:string description:text image_url:string as in book(Agile Web development with Rails) and rake db:migrate. When I'm create a new product, post show as '??????'. In file database.yml section encoding is utf8, but in phpmyadmin encoding: latin1_swedish_ci. How to make a migration encoding was in utf8?