this is my simple code
<%= render :partial => '/manage/regions/get_by_country', :locals => {:country_id => @last_search.country_id} %>
the @last_search.country_id has value (checked)
but while rendering the control seems that the country_id is null or empty
what i cant understand is that i use same syntax in another control and work us expected
i try also add hardcoded country_id
<%@id = 118%>
<%= render :partial => 'manage/regions/get_by_country', :locals => {:country_id => @id} %>
<%end%>
and not working the control rendering but the country_id is null