Just to be clear, link_to_remote is part of the Rails *helper* for
prototype. Prototype.js is an extraction from Rails, but it stands
alone, and this list is devoted to prototype as a stand-aline JS
library, not to the Rails helper.
Your question might be answerable in this list if you pastie the code
*generated* by the Rails helper (view source in your browser), but I
don't know if that would translate back into what you need to do
within Rails to get it to do other than it currently does.
Walter
On Nov 24, 2009, at 11:34 AM, Blue Hand Talking wrote:
> Prototype is used in many environments, and yes
> I am using it in Ruby with Rails.
>
> link_to_remote is part of the prototype library,
> which is why I was asking the question here.
>
> Specifically, I was uncertain of how the :with =>
> option is parsed.
>
> The answer for correct parsing is:
>
> :with => "'architect=#{project_detail.architect}'"
>
> The request stream is very particular about spaces and escaping.
> I was using an example from the official Rails documentation which
> did not seem to work.
>
>
> Jet
> --
>
> You received this message because you are subscribed to the Google
> Groups "Prototype &
script.aculo.us" group.
> To post to this group, send email to
prototype-s...@googlegroups.com
> .
> To unsubscribe from this group, send email to
prototype-scripta...@googlegroups.com
> .
> For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en
> .
>
>