Luis Luis - 1 year ago 109
Ruby Question

--- !ruby/hash:ActionController::Parameters controller: welcome action: index

I looked all over the internet before asking this, I don't know what I did wrong but now that I refresh my index page, this code is showing in the main page:

--- !ruby/hash:ActionController::Parameters
controller: welcome
action: index

How do I get it out of there? Does somebody have deal with this before?

An example of this I found it on this guys unfinished webpage:

Example at the bottom of the webpage

That Is all that I could found on the entire internet about this..

Answer Source

Remove debug(...) from your controller action. You are seeing this because your controller action is calling ActionView::Helpers::DebugHelper inside the index action. More info on DebugHelper here