I'm having some trouble with UTF-8 characters. Here's db/seeds.rb
User.create(username: 'eml', first_name: '****', last_name: '****äck',
email: 'somemail@example.com', password: 'asdasd')
My terminal (OSX 10.5.8) is set to use UTF-8, Rails (according to application.rb) is set to use utf-8. Here's the error:
$ rake db:seed
rake aborted!
/Projects/***/db/seeds.rb:8: invalid multibyte char (US-ASCII)
/Projects/***/db/seeds.rb:8: invalid multibyte char (US-ASCII)
/Projects/***/db/seeds.rb:8: syntax error, unexpected $end, expecting ')'
...ame: '****', last_name: '****äck',
... ^
Tasks: TOP => db:seed
(See full trace by running task with --trace)