Does anyone know how to pass two or more objects to a partial? If I
can't do it with partial do you have any other suggestions?
Thanks
Does anyone know how to pass two or more objects to a partial? If I
can't do it with partial do you have any other suggestions?
Thanks
In your method that calls render:
   render :partial => "my_partial", :locals => { :object1 =>
@object1, :object2 => object2 }
-christos