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?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to