Help install jquery ui

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

Rodrigo R. 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
tags) loads the required JavaScript files.