title: i18n: t method not working
body: <p>in my Rails 3.2.2 app I'm trying to use i18n but something is not working correctly.</p>
  
  <p>In fact the "t" method does not work, only "i18n.t" works.</p>
  
  <p>So, for example:</p>
  
  <pre><code>t(:login)
  =&gt; login
  </code></pre>
  
  <p>Instead:</p>
  
  <pre><code>i18n.t(:login)
  =&gt; Provide the necessary login info
  </code></pre>
  
  <p>Can you help me to figure out what I'm doing wrong?</p>
  
  <p>Thanks,
  Augusto</p>
  
  <p>UPDATE</p>
  
  <p>I used pry to show the source for the t helper and got this:</p>
  
  <p>From: /Users/phishman/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.2.2/lib/action_view/helpers/translation_helper.rb @ line 46:
  Number of lines: 16
  Owner: ActionView::Helpers::TranslationHelper
  Visibility: public</p>
  
  <pre><code>    def translate(key, options = {})
        options.merge!(:rescue_format =&gt; :html) unless options.key?(:rescue_format)
        if html_safe_translation_key?(key)
          html_safe_options = options.dup
          options.except(*I18n::RESERVED_KEYS).each do |name, value|
            unless name == :count &amp;&amp; value.is_a?(Numeric)
              html_safe_options[name] = ERB::Util.html_escape(value.to_s)
            end
          end
          translation = I18n.translate(scope_key_by_partial(key), html_safe_options)
  
          translation.respond_to?(:html_safe) ? translation.html_safe : translation
        else
          I18n.translate(scope_key_by_partial(key), options)
        end
      end
  
  3] pry(main)&gt; show-source helper.t
  
  From: /Users/phishman/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.2.2/lib/action_view/helpers/translation_helper.rb @ line 46:
  Number of lines: 16
  Owner: ActionView::Helpers::TranslationHelper
  Visibility: public
  
  def translate(key, options = {})
    options.merge!(:rescue_format =&gt; :html) unless options.key?(:rescue_format)
    if html_safe_translation_key?(key)
      html_safe_options = options.dup
      options.except(*I18n::RESERVED_KEYS).each do |name, value|
        unless name == :count &amp;&amp; value.is_a?(Numeric)
          html_safe_options[name] = ERB::Util.html_escape(value.to_s)
        end
      end
      translation = I18n.translate(scope_key_by_partial(key), html_safe_options)
  
      translation.respond_to?(:html_safe) ? translation.html_safe : translation
    else
      I18n.translate(scope_key_by_partial(key), options)
    end
  end
  </code></pre>