[Facebooker-talk] Remote_form with nested_url

Mike Mangino mmangino at elevatedrails.com
Sun Apr 20 15:38:46 EDT 2008


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

Mike

On Apr 20, 2008, at 12:22 PM, Ken Schroeder wrote:

> How can I pass :canvas => false in remote_form_for tag with a nested  
> object url?  Since nested_url requires parent object and I put it  
> side the url options not sure how to specify both.  I've tried  
> various permutations of form parameters but can't find a way to make  
> it work.  Any suggestions woudl greatly be appreciated.
>
>   Example of what I'm trying:
>    <% remote_form_for(:comment, Comment.new, :url =>  
> post_comment_url((:canvas => false)(@post)), :update => "post" )
>
>
>    Thanks --ken
>
> _______________________________________________
> Facebooker-talk mailing list
> Facebooker-talk at rubyforge.org
> http://rubyforge.org/mailman/listinfo/facebooker-talk

--
Mike Mangino
http://www.elevatedrails.com





More information about the Facebooker-talk mailing list