Skip to content

An Inseparable Peace

Primary Menu
  • Home
  • About
  • Contact

Tag: ruby

TIL: Running Rails 5 / Ruby 2 on Ubuntu 2022.4

Posted on October 29, 2022October 29, 2022 by Karl

I saw an article that Ubuntu 2022.10 had been released, which spurred me to finally upgrade my Dell laptop from 2018.4 to 2022.4 Everything went great!… until I went to write some code.

Continue Reading

TIL – Using a Cloudinary Resource with the Wicked PDF Gem

Posted on May 26, 2022October 16, 2022 by Karl

Today I was working on an pdf.erb view template in rails. In this case, I wanted to add into the PDF some images that we stored in cloudinary. My first instinct was to use the image tag that’s part of the cloudinary gem: However, the image would not display. Since I’ve rendered images in other […]

Continue Reading

The Case of the Broken API Params

Posted on December 13, 2020December 13, 2020 by Karl

I’ve been working on a Ruby program and had received a new version of an API to interface with. The new version had moved from GET requests to POST requests, so where before I was getting information with:

Continue Reading

Using StimulusJS for Type-ahead Search (1/2)

Posted on February 11, 2019February 12, 2019 by Karl

Part 1 – The Front End I’ve recently started using StimulusJS as the web framework for a Rails 5.2 application. My first task with it was to build a simple type-ahead search form.

Continue Reading
Copyright all rights reserved | Theme: Minimal Blog by WPinterface.