Passing object as URL parameter

I am trying to send an object “student” as a url parameter. It seems
that I
need to convert it to string to send it . This is how I am doing this.
/dashboard/action?student=student.to_s

Now, in the action, I want to retrieve this object in the action. How
can I
do that?


Thanks,
Jaikishan