Ask A Question

Notifications

You’re not receiving notifications from this thread.

Sorting Images using Active Storage

Tony Serkis asked in Rails

Perfect! Thank you.

Reply

And......yet another question! Can you tell me how you got sortable js going? Do you have your own js controller or just add to application js? Getting noMethod error but realized I have not added to proj.

Reply

Make sure you have jQuery sortable enabled / installed in your code.

Reply

Seriously wanna stop pestering you but I am relatively new to the whole webpacker approach to js libraries. I can't seem to get this rolling. Could you share your js implementation of jquery-ui? The js file you added as well as any declarations you may have in application.js or elsewhere?

Reply

Hey Tony, checking in again if you can hook me up with your sortable implementation?

Reply

Look up jQuery sortable and make sure you have it installed. I do NOT use webpack. It's too complicated IMO for simple things.

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 85,376+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.