开发者

Globalize2 problems, undefined method `translates' for?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜