hey,
i know u have in php print_r or echo, so that the browser print the
variable on
top of page, no matter what
what is this in rails?? put doesnt seem to work
Thanks
Nick
hey,
i know u have in php print_r or echo, so that the browser print the
variable on
top of page, no matter what
what is this in rails?? put doesnt seem to work
Thanks
Nick
On Wed, 2005-12-21 at 15:56 +0000, Brutyn N. wrote:
hey,
i know u have in php print_r or echo, so that the browser print the variable on
top of page, no matter whatwhat is this in rails?? put doesnt seem to work
You can use breakpointing, or given @foo:
<%= @foo.inspect %>
–
-Matthew B.
[email protected] :: 607 227 0871
Resume and Portfolio @ http://madhatted.com
i think you are looking for debug
http://rails.rubyonrails.com/classes/ActionView/Helpers/DebugHelper.html#M000367
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs