Isak Hansen 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.
Here's what as a quick workaround after commenting out init_gettext.
In app/controllers/application.rb and app/helpers/application_helper.rb
def _(string); string; end
In environment.rb require lib/gettext.rb:
class << self
protected; def _(string); string; end