require 'gettext/rails' seems to tangle up the rails env (1.1.6 config
files) big time (running out of stack when i try to save something,
for instance), and I could really use a workaround.
require 'gettext/rails' seems to tangle up the rails env (1.1.6 config
files) big time (running out of stack when i try to save something,
for instance), and I could really use a workaround.
Here's what as a quick workaround after commenting out init_gettext.
In app/controllers/application.rb and app/helpers/application_helper.rb
add:
def _(string); string; end
In environment.rb require lib/gettext.rb:
module ActiveRecord
class Base
class << self
protected; def _(string); string; end
end
end
end