<feed xmlns="http://www.w3.org/2005/Atom"> <id>https://predicatemethod.com/</id><title>predicatemethod</title><subtitle>A programming blog. Mostly about Ruby on Rails.</subtitle> <updated>2023-05-31T21:09:10-05:00</updated> <author> <name>Jason York</name> <uri>https://predicatemethod.com/</uri> </author><link rel="self" type="application/atom+xml" href="https://predicatemethod.com/feed.xml"/><link rel="alternate" type="text/html" hreflang="en" href="https://predicatemethod.com/"/> <generator uri="https://jekyllrb.com/" version="4.3.2">Jekyll</generator> <rights> © 2023 Jason York </rights> <icon>/assets/img/favicons/favicon.ico</icon> <logo>/assets/img/favicons/favicon-96x96.png</logo> <entry><title>Introduction to API Clients in Ruby</title><link href="https://predicatemethod.com/posts/introduction-to-api-clients-in-ruby/" rel="alternate" type="text/html" title="Introduction to API Clients in Ruby" /><published>2023-05-31T20:12:00-05:00</published> <updated>2023-05-31T20:12:00-05:00</updated> <id>https://predicatemethod.com/posts/introduction-to-api-clients-in-ruby/</id> <content src="https://predicatemethod.com/posts/introduction-to-api-clients-in-ruby/" /> <author> <name>Jason York</name> </author> <summary> In this article, I’m going to begin to outline my approach for creating API clients in Ruby. I’ve worked on quite a few web applications that interact with a lot of internal and external services. These services were shared by a number of other internal Rails applications, so I found myself creating Ruby API client gems to make it easier and more consistent to interact with these services. M... </summary> </entry> <entry><title>Cleaner Code with the "token_list" Helper</title><link href="https://predicatemethod.com/posts/cleaner-code-with-the-token-list-helper/" rel="alternate" type="text/html" title="Cleaner Code with the "token_list" Helper" /><published>2023-04-22T19:45:00-05:00</published> <updated>2023-04-23T14:48:00-05:00</updated> <id>https://predicatemethod.com/posts/cleaner-code-with-the-token-list-helper/</id> <content src="https://predicatemethod.com/posts/cleaner-code-with-the-token-list-helper/" /> <author> <name>Jason York</name> </author> <summary> This article is part of my effort to document some of what I learned during the development of my podshare.fm application. In this article, I want to highlight the token_list helper method. I’m pleasantly surprised when I come across a new feature or helper method that I’m not familiar with and token_list is one of those seemingly obscure methods that can really help remove conditionals from ... </summary> </entry> <entry><title>Hosting a Jekyll Static Website on AWS S3 with CloudFront</title><link href="https://predicatemethod.com/posts/hosting-a-jekyll-static-website-on-aws-s3-with-cloudfront/" rel="alternate" type="text/html" title="Hosting a Jekyll Static Website on AWS S3 with CloudFront" /><published>2023-03-31T19:48:00-05:00</published> <updated>2023-03-31T19:48:00-05:00</updated> <id>https://predicatemethod.com/posts/hosting-a-jekyll-static-website-on-aws-s3-with-cloudfront/</id> <content src="https://predicatemethod.com/posts/hosting-a-jekyll-static-website-on-aws-s3-with-cloudfront/" /> <author> <name>Jason York</name> </author> <summary> While setting up this blog with Jekyll, I went through quite a process to get everything configured so that I could host it on S3 with CloudFront. I wrote this article to document the process in hopes that it might help others (and maybe the next time I need to do this.) When I first started, I assumed this would be a fairly well documented process. I did find a number of articles on this topi... </summary> </entry> <entry><title>Using ViewComponents with Turbo</title><link href="https://predicatemethod.com/posts/using-viewcomponents-with-turbo/" rel="alternate" type="text/html" title="Using ViewComponents with Turbo" /><published>2023-03-20T12:09:00-05:00</published> <updated>2023-03-28T14:00:00-05:00</updated> <id>https://predicatemethod.com/posts/using-viewcomponents-with-turbo/</id> <content src="https://predicatemethod.com/posts/using-viewcomponents-with-turbo/" /> <author> <name>Jason York</name> </author> <summary> This article is part of my effort to write about some of the real-world development challenges I encountered during the development of my podshare.fm application. In this article, I’ll show how I used a ViewComponent to represent the status of a background job while updating the view using TurboFrames. If you haven’t had a chance to check out ViewComponents, I’d highly recommend you take a lo... </summary> </entry> </feed>
