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 L. 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
On Aug 18, 3:56 pm, Ilan B. [email protected]
wrote:
Jorg L. 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…
I do use both. The tricky piece was getting the right params back
into the controller at the right moment. All is well now.