Sha256: da119c04fb5b55108b286875a4a6b4804244c4a5c7b9de966ac27d45cc85befe

Contents?: true

Size: 778 Bytes

Versions: 13

Compression:

Stored size: 778 Bytes

Contents

merb_inspector
==============

A plugin for the Merb framework that provides "inspect" helper.
Just inspect your objects! No longer need to prepare views, scaffold and pagination.


Setup
=====

1. load gem at the bottom of config/dependencies.rb

  require "merb_inspector"

2. include css and js in your view or layout files

  <%= css_include_tag "merb_inspector.css" -%>
  <%= js_include_tag  "jquery.js" -%>


Example
=======

just *inspect* the object you want to know!

  <%= inspect [1, :hello] %>
  <%= inspect ENV.to_hash %>
  <%= inspect User.all(:limit=>10) %>
  <%= inspect @item %>
  ...

of course you can see available inspectors as following

  <%= inspect Merb::Inspector::Manager.stores %>


Copyright (c) 2008 maiha@wota.jp, released under the MIT license


Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
maiha-merb_inspector-0.2.2 README
maiha-merb_inspector-0.2.3 README
maiha-merb_inspector-0.2.4 README
maiha-merb_inspector-0.2.5.1 README
maiha-merb_inspector-0.2.5 README
maiha-merb_inspector-0.2.6 README
maiha-merb_inspector-0.2.7 README
maiha-merb_inspector-0.2.8 README
maiha-merb_inspector-0.2.9 README
maiha-merb_inspector-0.3.0 README
maiha-merb_inspector-0.3.1 README
maiha-merb_inspector-0.3.2 README
merb_inspector-0.3.2 README