Sha256: 103a5b9171b5dccd5b9cf6133f039755e94940d9c727d185019908e3e4d71560

Contents?: true

Size: 391 Bytes

Versions: 37

Compression:

Stored size: 391 Bytes

Contents

class EnvDumpPage < Page
  
  description %{
    Instead of rendering a page in the normal fashion the Env Dump
    behavior will output all of the environment variables on the
    request. This is occasionally useful for debugging.
  }
  
  def render
    %{<html><body><pre>#{ request.env.collect { |k,v| "#{k} => #{v}\n" } }</pre></body></html>}
  end
  
  def cache?
    false
  end

end

Version data entries

37 entries across 37 versions & 5 rubygems

Version Path
radiant-1.0.0 ruby-debug/ruby/1.8/gems/radiant-debug-extension-1.0.2/app/models/env_dump_page.rb
radiant-debug-extension-1.0.2 app/models/env_dump_page.rb
radiant-debug-extension-1.0.1 app/models/env_dump_page.rb
kajam-1.0.3.rc2 vendor/extensions/debug/app/models/env_dump_page.rb
radiant-debug-extension-1.0.0 app/models/env_dump_page.rb
radiant-1.0.0.rc2 vendor/extensions/debug/app/models/env_dump_page.rb
radiant-1.0.0.rc1 vendor/extensions/debug/app/models/env_dump_page.rb
radiantcms-couchrest_model-0.2.4 app/models/env_dump_page.rb
radiantcms-couchrest_model-0.2.2 app/models/env_dump_page.rb
radiantcms-couchrest_model-0.2.1 app/models/env_dump_page.rb
radiantcms-couchrest_model-0.2 app/models/env_dump_page.rb
radiantcms-couchrest_model-0.1.9 app/models/env_dump_page.rb
radiantcms-couchrest_model-0.1.8 app/models/env_dump_page.rb
radiantcms-couchrest_model-0.1.7 app/models/env_dump_page.rb
radiantcms-couchrest_model-0.1.6 app/models/env_dump_page.rb
radiantcms-couchrest_model-0.1.5 app/models/env_dump_page.rb
radiantcms-couchrest_model-0.1.4 app/models/env_dump_page.rb
radiant-0.7.2 app/models/env_dump_page.rb
radiant-0.9.1 app/models/env_dump_page.rb
radiant-0.8.2 app/models/env_dump_page.rb