Array in the link

I have an array in an view link submitted to an action.This array
contains the objects which have not any relation each other,they also
have no model relation.The link look like this :
###############################
<%=link_remote_to
“agree”,:url=>{:action=>“agree”,:id=>[object1,object2],…}-%>
###############################
In the action,how do i parse the params[:id] ?,object1=params[:id][0]
and object2=params[:id][1]? It is wrong.I check the development log,id
was submitted like this : “2/5”.So who can help me?

I don’t think that you can pass an array or hash which is more than
one level from view to controller.
You’d better divide your objects into strings and pass them seperately
or arrange them in an array or hash which has only one level.