rails_dump
文件大小: unknow
源码售价: 5 个金币 积分规则     积分充值
资源说明:
Rails Dump
==========

Rails dump is an attempt to reproduce a very useful Coldfusion feature, the CFDUMP tag is capable of dumping any object, string, array, structs, etc in a human readable way.

Example
===========

You can dump a variable set in your controller in your views using the following syntax

	class UsersController < ApplicationController
		def show
			@user = User.find(1)
			
			@array1 = [1, 2, 3, 4]
			
		end
	end

	<%= dump @user %>
	<%= dump @array1 %>

TODO
===========

* Dump object properties/values
* Build a Dump Version of Module objects

本源码包内暂不包含可直接显示的源代码文件,请下载源码包。