Hi Jeroen,
Have you tried to comment out the following line in init.rb:
require "globalize/rails/active_record"
That should do the trick. (although I haven''t personally tested it)
HTH,
Tony
jeroen wrote:> Hi,
>
> I''d like to try and use the Globalize plugin, but I only need a
subset
> of the features that plugin provides. I''d like to:
>
> - translate text in views
> - format date/time/numbers using different locales
>
> I won''t be using stuff like:
>
> Locale.set("en-US")
> prod = Product.find(1)
> prod.name -> "Meatballs"
>
> Locale.set("es-ES")
> prod = Product.find(1)
> prod.name -> "Albondigas"
>
> Since I have no data in my models that requires translating, is there
> any way I can turn off translating model data altogether? I''d
rather not
> have Globalize override Rails core classes for something I''m not
using.
>
> It not a huge deal, but It would be nice if this were possible.
>
> Cheers,
>
> Jeroen
--
Posted via http://www.ruby-forum.com/.