not a bug!
check that out...
http://codefluency.com/articles/2006/06/02/rails-views-using-the-with-option
> -------- Original-Nachricht --------
> Datum: Tue, 6 Jun 2006 20:26:13 +0200
> Von: Chris Kampmeier <chris@kampers.net>
> An: rails@lists.rubyonrails.org
> Betreff: [Rails] How to send post data with link_to_remote?
>
> Hi,
>
> I''m trying to send a post body with my link_to_remote call.
>
> Prototype supports the ''postBody'' option, but I
can''t seem to get
> link_to_remote to set that.
>
> Here''s what I''m trying:
>
> link_to_remote ''move up'',
> :url => { :controller => ''upload'', :action =>
''position_ajax'', :id =>
> upload.id },
> :method => ''post'',
> :postBody => ''amount=-1''
>
> But no dice.
>
> I looked at the source for <a
>
>
href="http://dev.rubyonrails.org/browser/trunk/actionpack/lib/action_view/helpers/prototype_helper.rb">prototype_helper.rb</a>
> and it looks like postBody is not in the supported options hash.
>
> Or is the idea that I create a dummy form and associate the
> link_to_remote with that?
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails