0.0
No commit activity in last 3 years
No release in over 3 years
Merb plugin that provides powerful 'inspect' helper method
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 1.0.8
 Project Readme
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