[Facebooker-talk] Remote_form with nested_url

Jim Crossley jcrossley at websingularity.com
Sun Apr 20 13:52:16 EDT 2008


"Ken Schroeder" <schroeder.ken at gmail.com> writes:

> How can I pass :canvas => false in remote_form_for tag with a nested
> object url?

[...]

>   Example of what I'm trying:
>    <% remote_form_for(:comment, Comment.new, :url =>
> post_comment_url((:canvas => false)(@post)), :update => "post" )

Try this:  post_comment_url(@post, :canvas => false)

Jim


More information about the Facebooker-talk mailing list