title: Rails: class methods helpers from Lib
body: <p>Sorry the title may not be very clear. Basically I have a wrapper for the Split gem called ABFeature in lib/ab_feature/ab_feature.rb</p>
  
  <p>In my view I want to be able to call my helpers like this:</p>
  
  <pre><code>ABFeature.current_settings
  </code></pre>
  
  <p>But this is not working, here is the error I have:</p>
  
  <pre><code>undefined local variable or method `session' for ABFeature:Module
  </code></pre>
  
  <p>session is a method from ActionController and is seems I can't access it...</p>
  
  <p>Here is my code:</p>
  
  <pre><code>require 'split'
  
  module ABFeature
    class &lt;&lt; self
      include Split::Helper
  
      def current_settings
        ...
      end
    end
  end
  
  
  class ActionController::Base
    ActionController::Base.send :extend, ABFeature
  end
  </code></pre>
  
  <p>Any idea?,
  Greg</p>