def method_missing(method, *args, &block)
      %w(url_for flash).include?(method.to_s) ? ProxyEmpty.new : super
    end
def method_missing(method, *args, &block)
      %w(url_for flash).include?(method.to_s) ? ProxyEmpty.new : super
    end
def method_missing ( method , * args , & block ) %w( url_for flash ) . include? ( method . to_s ) ? ProxyEmpty . new : super end
prevent certain url helper methods from failing so we can run erb templates outside of rails for reports.
prevent certain url helper methods from failing so we can run erb templates outside of rails for reports .