Thanks Greg

I've already look at it.
My issue was related to the remote_function which seems to be still
available...
All that stuff in Rails 3 is not yet so clear for me...

I am using this on a checkbox  <input> tag, not on a <a> tag (which is
well documented in the doc)

= check_box_tag("selection", "1", false, :onclick =>
remote_function(:url => showHideMenuItem_admin_user_path, :method
=> :post, :with => "'id=#{user.id}'"))

I finally ended testing the 'old' remote_function and it's working

erwin


On 18 août, 06:16, Greg Donald <[email protected]> wrote:
> On Tue, Aug 17, 2010 at 9:27 PM, Erwin <[email protected]> wrote:
> > Is  the remote_function still valid in Rails 3 as it seems many of the
> > Prototype helpers have been replaced ?  (link_to_remote, ...)
>
> > where can I find any link on it ?  not in the standard doc I guess ..
>
> <%= link_to 'foo', some_path, :remote => true %>
>
> The docs are on your system.  Run `gem server` and then browse 
> tohttp://localhost:8808/
>
> --
> Greg Donald
> destiney.com | gregdonald.com

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to