vendor/plugins/routing_filter/lib/routing_filter.rb
def generate_optimisation_block_with_filtering(*args)
    code = generate_optimisation_block_without_filtering *args
    if match = code.match(%r(^return (.*) if (.*)))
      <<-code
        if #{match[2]}
          ActionController::Routing::Routes.filter_generate self, :before, *args
          result = #{match[1]}
          ActionController::Routing::Routes.filter_generate self, :after, result, *args
          return result
        end
      code
    end
  end
# gosh. monkey engineering optimization code
gosh. monkey engineering optimization code
gosh . monkey engineering optimization code
def generate_optimisation_block_with_filtering(*args)
    code = generate_optimisation_block_without_filtering *args
    if match = code.match(%r(^return (.*) if (.*)))
      <<-code
        if #{match[2]}
          ActionController::Routing::Routes.filter_generate self, :before, *args
          result = #{match[1]}
          ActionController::Routing::Routes.filter_generate self, :after, result, *args
          return result
        end
      code
    end
  end
def generate_optimisation_block_with_filtering ( * args ) code = generate_optimisation_block_without_filtering * args if match = code . match ( %r( ^return (.*) if (.*) ) ) <<-code 
        if  #{ match [ 2 ] } 
          ActionController::Routing::Routes.filter_generate self, :before, *args
          result =  #{ match [ 1 ] } 
          ActionController::Routing::Routes.filter_generate self, :after, result, *args
          return result
        end
       code end end
gosh.
gosh .
args