POST parameters

Hello…

Stupid question I’m sure…but I have tried:

params[:permission[:user_id] etc., etc…

And I can get to the user_id variable.

Parameters: {“commit”=>“Add”, “permission”=>{“document_id”=>“1”,
“user_id”=>“2”}, “id”=>“1”}

How do I access these variables from a post request.

Thank you.

GPB

params[:permission][:user_id]

On 8/24/07, GPB [email protected] wrote:

Parameters: {“commit”=>“Add”, “permission”=>{“document_id”=>“1”,


Cheers!

Thank you…! It works.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs