Vinod Krishnan
2006-Aug-01 08:59 UTC
[Rails] Newbie Syntax Question: Insertion Bottom with link_to and render Partial
I want to use link_to/link_to_function and then use Insertion.Bottom and also have render partial in it. I could not find one example with all three and I have been working on syntax for it for a long time now. In effect I want the following: When I click on my link <%= link_to_function("Post", "new Insertion.Bottom(''oldpost'',render(:partial => ''comment''))" )%> Of course, my main concern is matching all the "s. And then getting the html to render only when I click on "Post" -Vinod