AJAX · JavaScript · JQuery · Ruby On Rails

Drag & Drop Functionality for sorting a list on Ruby On Rails…

There is an easy way of implementing drag and drop sorting functionality in RoR with the help of ‘dragdrop.js’. Here is the steps :- Consider i’m dealing with the movie application, and having a list of scenes(table named ‘scenes’) for a movie. First gather the list of scenes in controller :- (scenes_controller.rb) def list @scenes=Scene.find… Continue reading Drag & Drop Functionality for sorting a list on Ruby On Rails…