leonel
leonel

Reputation: 10224

Rails 3. How can I display the contents of the form submission?

Just like in PHP you can do echo $_POST, how can I display what was submitted?

Upvotes: 1

Views: 44

Answers (2)

xdazz
xdazz

Reputation: 160903

It is a hash called params. You can find it at the development.log.

Upvotes: 1

dotoree
dotoree

Reputation: 2993

Rails is using params array for request parameters http://rails.nuvvo.com/lesson/6371-action-controller-parameters

Upvotes: 2

Related Questions