Nani Nani - 6 months ago 37
Ruby Question

What is the better way to create a drag and drop table in rails views?

I am working on rails. In one of my views I need to create a list that can be sorted by drag and drop way. I have found this way on google. But in that tutorial they used

act_as_list
gem. according to the documentation of this gem it is;


An ActiveRecord plugin for managing lists. http://swanandp.github.io/acts_as_list/


I am using
mongoid
. Please, can anyone suggest how I can create a drag and drop list in rails views for
mongoDB
?

Answer

I have create drag and drop table using the gem jquery-ui-rails. here you can find more info check it here Thank you.

Comments