[Facebooker-talk] Remote_form with nested_url
Ken Schroeder
schroeder.ken at gmail.com
Sun Apr 20 13:22:19 EDT 2008
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/facebooker-talk/attachments/20080420/c3b9eeb4/attachment.html
More information about the Facebooker-talk
mailing list