Keegan Bakker

Joined

1,270 Experience
12 Lessons Completed
0 Questions Solved

Activity

Thanks for replying Chris! If you do try it out, would love to hear more / see a video on a simple implementation. A basic app idea that comes to mind might be a "learn to code" app allowing users to write their own Ruby code in a sandbox and then checks if their code is correct or not.

Hello everyone! Nervous first-time poster here, and of course, my apologies if there's already a video / thread that covers this.

An advanced topic I'd love to see covered on GoRails (or hear any thoughts and discussion from the community) is the idea of how you might safely execute user-written Ruby code in a (Rails) web application.

Specifically, I'm looking at Shopify Scripts as an example. Shopify offers this tool to allow their larger customers to author small, self-contained scripts (written in Ruby) that can handle and manipulate data to implement advanced workflows. Obviously, you can't just run eval to do this :)

Why? I work on a Rails web application with Enterprise customers who (as with Shopify) demand an enormous degree of customisation and workflow automation ability. Of course, one could create GUI-based tools to allow customers to build automation workflows, or provide a REST API so they can run their code somewhere else entirely & manipulate data on your app. However, I'm curious about this concept & would love to explore it a little more.

Shopify claims to do this with a library they created called ESS (Github). I'm curious about how you might implement this specifically, but also would love thoughts from the community about this concept of "user custom code" more broadly.

Would be really fascinated to see a video on this concept, and of course, hear what the GoRails community thinks of the concept in general!

Posted in How to use Uppy with ActiveStorage Discussion

I'm still having this problem myself as well.

logo Created with Sketch.

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more. Icons by Icons8

© 2023 GoRails, LLC. All rights reserved.