Passing params with render

Hi
I have to pass a param to
<%= render :partial=> /popup/search_contact_ui’ %>

I tried like below but not working
<%= render :partial=> ‘/popup/search_contact_ui’,
:params=>{:content=>‘searchsdprimaryassignee’}%>

Could you please tell me how I can do this
Sijo

I think the closest you will get is by passing a local variable:
http://api.rubyonrails.org/classes/ActionController/Base.html#M000452 at
“rendering partials”

Cheers,
Jan

Thanks for ur reply

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