CafeHey
CafeHey

Reputation: 5800

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 translates on the model:

undefined method `translates' for

Is anyone else getting this error? It's on rails 3 by the way.

Upvotes: 1

Views: 620

Answers (1)

Funsi
Funsi

Reputation: 514

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.

Upvotes: 1

Related Questions