title: Rails 5 instance level helpers method in controller not recognizing helpers. method
body: <p>I'm trying to follow the "New way to call helper methods in Rails 5" mentioned <a href="http://blog.bigbinary.com/2016/06/26/rails-add-helpers-method-to-ease-usage-of-helper-modules-in-controllers.html" rel="nofollow noreferrer">here</a>, originally PR <a href="https://github.com/rails/rails/pull/24866" rel="nofollow noreferrer">here</a>.</p>
  
  <p>I can get the "old approach" to work with the following:</p>
  
  <pre><code># app/models/order.rb
  class Customer &lt; ActiveRecord::Base
    include CustomersHelper
    # some code...
  
    def name_make_uppercase
      self.first_name = uppercase(first_name)
      self.last_name = uppercase(last_name)
    end
  end
  
  # app/helperss/customers_helper.rb
  module CustomersHelper
    def uppercase(input)
      return unless input
      input[0] = input[0].to_s.capitalize
      input
    end
  end
  </code></pre>
  
  <p>However, with the new approach I believe I should be able to remove the "include CustomersHelper" and add "helpers." to my uppercase functions in the controller e.g.</p>
  
  <pre><code># app/models/order.rb
  class Customer &lt; ActiveRecord::Base
    # include CustomersHelper
    # some code...
  
    def name_make_uppercase
      self.first_name = helpers.uppercase(first_name)
      self.last_name = helpers.uppercase(last_name)
    end
  end
  </code></pre>
  
  <p>However, now my spec's are getting the following error:</p>
  
  <blockquote>
    <p>NameError: undefined local variable or method `helpers' for #Customer:0x00000004d50be8></p>
  </blockquote>
  
  <p>I'm curious what I might be doing wrong.</p>