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 .. thanks for you feedback -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Tue, Aug 17, 2010 at 9:27 PM, Erwin <yves_dufour-ee4meeAH724@public.gmane.org> 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 to http://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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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 <gdon...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> On Tue, Aug 17, 2010 at 9:27 PM, Erwin <yves_duf...-ee4meeAH724@public.gmane.org> 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.