app/controllers/concerns/current_user_wrapper.rb
# delegate all methods to wrapped current user
delegate all methods to wrapped current user
delegate all methods to wrapped current user
def method_missing(method_name, *args, &block)
      if @current_user.respond_to?(method_name)
        @current_user.send(method_name, *args, &block)
      else
        super
      end
    end
def method_missing ( method_name , * args , & block ) if @current_user . respond_to? ( method_name ) @current_user . send ( method_name , * args , & block ) else super end end
delegate all methods to wrapped current user
delegate all methods to wrapped current user
method_name
<not_specific>
args
<not_specific>
block
<not_specific>