Jimmy CheungReading 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.Oct 25, 2020Oct 25, 2020
Jimmy CheungUsing 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…Oct 19, 2020Oct 19, 2020
Jimmy CheungUsing websockets (ActionCable) with Rails appWebsockets are a flexible communications protocol (similar to http) that allows developers to create duplex communications in their web…Oct 12, 2020Oct 12, 2020
Jimmy CheungUsing 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…Oct 5, 2020Oct 5, 2020
Jimmy CheungDockerizing an Existing Rails AppDockerizing an existing Rails app will be very similar to my existing guide on creating a new Rails app.Sep 28, 2020Sep 28, 2020
Jimmy CheungFixing dependency alerts for nodeAs discussed in the previous article, github will inform you of dependency alerts for your outdated or insecure dependencies. In the…Sep 21, 2020Sep 21, 2020
Jimmy CheungFixing 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…Sep 14, 2020Sep 14, 2020
Jimmy CheungRendering 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…Sep 7, 2020Sep 7, 2020
Jimmy CheungUsing 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…Aug 31, 2020Aug 31, 2020
Jimmy CheungServing 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…Aug 24, 2020Aug 24, 2020