Message from discussion Welcome Rails Developers
The group you are posting to is a Usenet group
. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
From: pietro <pietro.ferr...@gmail.com>
Date: Thu, 7 Aug 2008 14:52:35 -0700 (PDT)
Local: Thurs, Aug 7 2008 5:52 pm
Subject: Re: Welcome Rails Developers
i adapted some code from gibberish and added it to my environment.rb.
so "Foo"[:foo] will return I18n.t(:foo, :default => "Foo").
args = [underscore.tr(' ', '_').to_sym] if args.empty?
return brackets_without_translation(*args) unless args.first.is_a?
I18n.translate(args.first, :default => self)
alias :brackets :
alias_method_chain :brackets, :translation
alias : :brackets
String.send :include, StringExt
You must Sign in
before you can post messages.
You do not have the permission required to post.