Ruby on Rails Friday, April 30, 2010

I downloaded the rails edge

> cd activerecord
> rake test_mysql

I am getting an exception at line 165 block.
http://github.com/rails/rails/blob/master/activerecord/test/cases/validations/uniqueness_validation_test.rb#L165

Line 169 ( http://github.com/rails/rails/blob/master/activerecord/test/cases/validations/uniqueness_validation_test.rb#L169)
says that if database is not UTF-8 then test will fail.

I think my database is UTF-8. Take a look at this. http://gist.github.com/386040

What am I missing? What do I need to do so that this test passes.

For the sake of completeness I would a say I have one test in error
( this one) and two other tests are failing. It seems the other two
failing tests are also because of UTF-8 issue.

Thanks

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

1 comment:

Tejuteju said...
This comment has been removed by the author.

Post a Comment