开发者

Globalize2 problems, undefined method `translates' for?

开发者 https://www.devze.com 2023-02-19 07:00 出处:网络
I\'ve set up Globalize2 on a rails app however I\'m getting the following error when I put t开发者_运维问答ranslates on the model:

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消