Sortable_element rails3

Hello

I’m upgrading a rails2 app to rails3 and I’m struggling to find a
replacement for sortable_element.

I was using it and acts_as_list so users could reorder list items with
drag
and drop, and the reordering would write a new position of the object
into
the database.

Does anyone have any links or anything that I could read to help me?

I’ve found Ryan B. revised example, paid for content though and I’m
waiting for someone in the company to OK the massive expenditure of $9
per
month.

I also found this, which looked helpful

But that seems to have disappeared from rubygems.

Alot of people are linking to this example as well

http://webtempest.com/sortable-list-in-ruby-on-rails-3-almost-unobtrusive-jquery/

That persons account has been deactivated.

Ever get the feeling you’re having the runaround?

Any help or links or tips will be greatly appreciated, as always.

V

Hey man, what’s up?

I was thinking, maybe you should try to implement it from scratch,
It seems you just need to add a position field in your database, and
start to use
A jquery plugin for drag and drop. After move things around,
You can collect all ids through jquery and send a Ajax call to your
controller to update all position fields of elements.

It seems not that hard. What do you thing about it?

Nice day

Sent via iPhone

Em 04/07/2013, s 05:26, vanderkerkoff [email protected] escreveu: