# NOOB: Passing parameters between pages

**URL:** <https://www.ruby-forum.com/t/noob-passing-parameters-between-pages/94937>\
**Category:** Rails\
**Created:** [May 17, 2006, 11:34pm UTC](https://www.ruby-forum.com/t/noob-passing-parameters-between-pages/94937 "2006-05-17T23:34:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pazu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/e9c0ed/32.png) [@pazu](https://www.ruby-forum.com/u/pazu)\
**Post date:** [May 17, 2006, 11:34pm UTC](https://www.ruby-forum.com/t/noob-passing-parameters-between-pages/94937/1 "2006-05-17T23:34:44Z")

</div>

Folks,

I have a rhtml page (page A) that links to another page (page B), and I  
want to pass some parameters from page A to page B.

Here is the link code (on page A):  
\<%= link\_to ‘Edit’, { :action =\> ‘edit’, :id =\> permit }, :post =\> true  
%\>

If I want to pass a parameter “name” and a value “marcus”, and pick it  
up on page B, how is this done?

Thanks,  
Marcus

---

<div class="post-metadata">

**Author:** ![pazu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/e9c0ed/32.png) [@pazu](https://www.ruby-forum.com/u/pazu)\
**Post date:** [May 17, 2006, 11:50pm UTC](https://www.ruby-forum.com/t/noob-passing-parameters-between-pages/94937/2 "2006-05-17T23:50:16Z")

</div>

\<%= link\_to ‘Edit’, { :action =\> ‘edit’, :id =\> permit, :name =\>  
“marcus” }, :post =\> true %\>

On 5/17/06, Marcus B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> 

–  
Ben R.  
303-947-0446  
[http://www.benr75.com](http://www.benr75.com)
