I would like to use a partial with dynamic locals. But I cant seem to figure out how to do it. this works with 1 local but not multiple.
partial_name = "shared/simple_partial_with_locals" local_hash = {:local1 => "local 1 value"}
render :partial => partial_name, :locals =>{ local_hash }
any ideas on how I could accomplish this?