Sha256: 2a7f502f0df228513e57bd7cae29b98720ed75ef45b05e5ffc85cdd22135e08e

Contents?: true

Size: 645 Bytes

Versions: 3

Compression:

Stored size: 645 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

  dependency "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 User.all(:limit=>10) %>
  <%= inspect @item %>
  ...


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


Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
maiha-merb_inspector-0.1 README
maiha-merb_inspector-0.2.1 README
maiha-merb_inspector-0.2 README