TLDR: Is there a way to scope acts_as_list into another table as such I have two tables with one joining table. Todo(name, position, status, ...
TLDR: Is there a way to scope acts_as_list into another table as such I have two tables with one joining table. Todo(name, position, status, ...
I followed this tutorial to implement drag and drop. https://www.driftingruby.com/episodes/drag-and-drop-with-hotwire I am getting an error on drop t ...
Strugle alot but couldn't solve this problem. It been nightmare for me. I am using rails 6. and jquery ui "jquery-ui": "^1.13.0". I have added gem gem ...
I have seen How to change a nullable column to not nullable in a Rails migration? for the problem of adding a non-nullable column to an existing datab ...
Can someone offer best practices for adding acts_as_list to active storage attachments? The gem requires "acts_as_list" added to the model in question ...
I am having a problem when updating acts_as_list positions with nested_attributes, I have worked my way down and noticed the issue is still happening ...
I'm trying to implement the "Drag and Drop Sortable Lists" (https://gorails.com/episodes/rails-drag-and-drop-sortable) with nested_attributes. Unfort ...
Hi All I have a little app that takes an address on the stop model and geo codes it via geocoder gem This stop model belongs to a trip. I use the a ...
I've been searching for a day and a half for a solution. I've got several tables (Categories) that allow the user to drag and drop each row (Item) t ...
I have a fairly large question that I've been unable to resolve after a full day of reading articles, documentation and other Stack questions. At this ...
I have a model with following setup for acts_as_list gem: acts_as_list scope: [parent_id: nil], add_new_at: :top, top_of_list: 0 I expect having next ...
I'm using acts_as_list v0.9.17 this way: When a new (scoped) @list_item is created, say the one where column1_id is 1, column2_id is 11 and column3 ...
I am using Rails 4 and the ActsAsList gem to give our Project model a position. Projects can be owned my one user, and collaborated on with many users ...
I would like to implement a drag and drop of a list of items in a playlist. Playlist contents are of different activerecord types. I need to store the ...
I'm running a test that did not fail before upgrading to rails 5.0, but now I am getting stack level too deep, the test is as follows: The controll ...
I use both acts_as_paranoid and acts_as_list for the same model, CheckIn. I have the gem setup as follows: The ordering is scoped to the check_ins ...
I'm using the popular gem, acts_as_list and I am having issue with getting the scope to work. Basically there're three models, a group, a subgroup, an ...
I am using acts_as_list on my model.I have a position column on that model for which I don't wan't the model object to be saved to the database if the ...
I have two models. The first ModelA is the parent of ModelB. ie ModelA has_many ModelB. [When modelA is destroyed, all its dependent ModelB's also get ...
Using acts_as_list, I'm trying to set the scope to the where column. where is the name of a string column in the model. But when I'm getting this ...