I've set up Globalize2 on a rails app however I'm getting the following error when I put t开发者_运维问答ranslates on the model:
undefined method `translates' for
Is anyone else getting this error? It's on rails 3 by the way.
You will have to use globalize3 if you run rails3. You can download it from https://github.com/svenfuchs/globalize3 or by adding
gem "globalize3"
to you Gemfile and running bundle install.
精彩评论