Papipo/mongoid_i18n — pull request #22 by azisaka (2012-04-05 18:10:21+00:00)
Title: Upgrade to Ruby 1.9.3 and Mongoid 2.4.7

Hey,

you gem was a bless to my app :) But I had to fix a few things.
Since I use Ruby 1.9.3, the way Jeweler defines the encoding doesn't work. So I switched to Bundler (less code too) as the gem framework.

Also, I changed the way you define the methods using module_eval instead of generated_field_methods.module_eval. I'm not sure why you were using that method, but it works with a simple module_eval.

I'm already using it in production and it's working great in my app.

Thank you.