NOOB: Passing parameters between pages


#1

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


#2

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

On 5/17/06, Marcus B. removed_email_address@domain.invalid wrote:


Ben R.
303-947-0446
http://www.benr75.com