I tryed rails generate jquery:install --ui but my draggable method still does nothing. Can anyone help me ? What is the proper way to install jquery ui (specially for dragging elements)? Thank you, Rodrigo -- 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.
Rodrigo Ruiz wrote in post #1013597:> I tryed rails generate jquery:install --ui but my draggable method still > does nothing.Have you tried any of the browser developer tools to make sure jquery-ui.???.js is getting loaded. If you''re using FireFox then FireBug is good for that. If you''re using a WebKit based browser (Safari or Chrome) then they have the built-in Web Inspector. With any of those tools select the "Resources" tab and look for the JavaScript files downloaded by the browser. That will tell you if jQuery UI is getting loaded correctly. If it is getting downloaded these tools also have JavaScript debuggers built into them, which allow you to set breakpoints and step through execution of JavaScript. It would serve you well to learn how to use these tools.> What is the proper way to install jquery ui (specially for dragging > elements)?They same way you install any JavaScript files in Rails. Put them in the proper place and make sure your layout (or whatever renders the <head> tags) loads the required JavaScript files. -- Posted via http://www.ruby-forum.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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.