title: Using number_with_precision on application_controller in rails3
body: <p>I did add <code>require 'action_view'</code> &amp; <code>include ActionView::Helpers::NumberHelper</code>  ⬇</p>
  
  <pre><code>class ApplicationController &lt; ActionController::Base
  
    require 'action_view'
    include ActionView::Helpers::NumberHelper
  </code></pre>
  
  <p>And, when I call it in my => <code>def self.form_price formatted_price, total, total_till</code></p>
  
  <pre><code>puts number_with_precision(total, :precision =&gt; 2, :delimiter =&gt; ',')
  </code></pre>
  
  <p>Get this message:</p>
  
  <pre><code>.rvm/gems/ruby-1.9.3-p327/gems/railties-3.2.13/lib/rails/commands/runner.rb:53:in `eval': undefined method `number_with_precision' for ApplicationController:Class (NoMethodError)
  </code></pre>