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?
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| undefined method `force_encoding' for "schema_migrations":String | 1 | 149 | September 26, 2010 | |
| incompatible character encodings: ASCII-8BIT and UTF-8 | 46 | 2549 | December 6, 2010 | |
| Japanese support for Rails | 0 | 107 | November 1, 2006 | |
| Encoding problem with rails 1.2 and MySql 5.0 | 0 | 112 | April 23, 2007 | |
| database.yml encoding is utf8, yet connections aren't | 0 | 212 | July 23, 2008 |