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
On Fri, 25 Aug 2006 10:33:49 +0200
“Isak H.” [email protected] wrote:
Anyone using GetText on edge rails?
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.
Hmm. I found the same problem. I’ll try to fix it, but I don’t have
a workaround it now.