Project

scratchpad

0.0
No commit activity in last 3 years
No release in over 3 years
Add a panel to your Rails app where you can display debug content.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 4.0
 Project Readme

Scratchpad

Scratchpad gives you a place outside of the normal flow of a page to display some data. You add data to the scratchpad throughout the request cycle and the collection is rendered in a panel at the bottom of the page. To add to the scratchpad pass any type of data to the scratchpad helper, for example (in erb):

  <% scratchpad @params %>

Installation

Add this line to your application's Gemfile:

gem 'scratchpad', group: :development

And then execute:

$ bundle

Usage

Scratchpad adds a view helper into your application. Call it as many times as necessary.

  <% scratchpad @user %>

This project rocks and uses MIT-LICENSE.