Jimmy Cheung·Oct 25, 2020Reading and writing JSONs in RubyRuby has some built in functionality to read files and some outside functionality to parse JSONs that can come in handy.
Jimmy Cheung·Oct 19, 2020Using websockets (ActionCable) with Rails app: Part 2 (React frontend)In my first article, I covered the basics of setting up Rails to use ActionCable. Now, you can use ActionCable with a React frontend as…
Jimmy Cheung·Oct 12, 2020Using websockets (ActionCable) with Rails appWebsockets are a flexible communications protocol (similar to http) that allows developers to create duplex communications in their web…
Jimmy Cheung·Oct 5, 2020Using ActiveStorage with your Rails appWhen you use images with your Rails app, you can do it in several different ways. One way is easy — just put your images in the…
Jimmy Cheung·Sep 28, 2020Dockerizing an Existing Rails AppDockerizing an existing Rails app will be very similar to my existing guide on creating a new Rails app.
Jimmy Cheung·Sep 21, 2020Fixing dependency alerts for nodeAs discussed in the previous article, github will inform you of dependency alerts for your outdated or insecure dependencies. In the…
Jimmy Cheung·Sep 14, 2020Fixing dependency alerts for RubyWhen using github, from time to time, github will inform you of some security issue from one of the dependencies on one of your repos. It…
Jimmy Cheung·Sep 7, 2020Rendering JSX From StringsIn building my Slay the Spire app, we created an API that delivered description strings that already had prewritten JSX. This was done so…
Jimmy Cheung·Aug 31, 2020Using Docker on a new Rails appAs covered in previous articles, Docker is a paradigm shift that allows for developers to share images and develop without as much…
Jimmy Cheung·Aug 24, 2020Serving Arrays via Rails APIWhen building out my Slay the Spire Rails API app, I ran into an issue in developing my frontend. When I accessed my api/v1/keywords…