Does someone have a good example of using sortable_element and then updating the changed position in the database? I don't have an issue getting the drag and drop to work, but saving the changes seems to be a challenge.
Jorg Lueke wrote:
Does someone have a good example of using sortable_element and then updating the changed position in the database? I don't have an issue getting the drag and drop to work, but saving the changes seems to be a challenge.
No idea about sortable_element but the operation is trivial with acts_as_list plugin by DHH himself..
hth
ilan
I do use both. The tricky piece was getting the right params back into the controller at the right moment. All is well now.