Submit a post
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
Yesterday
IRB Kit 0.0.0: A kit of IRB extensions
In case you’d like to enhance your IRB configuration with additional helpers (and even a dynamic prompt), you might want to check out the IRB Kit gem. This reduced a bunch of custom code in my irbrc
file so everything can be loaded from this gem now. This might be of benefit to you too. Enjoy!
Glimmer DSL for Web Ruby Integration with JavaScript Libraries
Glimmer DSL for Web is a Ruby-in-the-Browser Web Frontend Framework that enables Rubyists to finally have Ruby productivity and happiness in the Frontend via a simpler, more intuitive, more straightforward, and more productive library than all JavaScript libraries like React, Angular, Ember, Vue, Svelte, etc…. Glimmer DSL for Web’s Rails sample app “Sample Selector” has been upgraded with Code Syntax Highlighting by integrating with highlight.js. It demonstrates how to build Glimmer Web Components in the Frontend and how to make HTTP calls from a Ruby Frontend to a Ruby Backend in a Rails application, among other things. [more inside]
How to use ActionCable with async requests in a Ruby on Rails web app
The practical use of WebSockets in Ruby on Rails app for slow API requests https://medium.com/@zozulyak.nick/how-to-use-actioncable-with-async-requests-in-a-ruby-on-rails-web-app-a70820c1fabe
How to configure code snippets for binding.break in RubyMine and VSCode
I am using very often the binding.break from the debug gem and I wanted to configure code snippets in Ruby Mine and VCCode
Business Class 1.7 released 🚀
Business Class is a Ruby on Rails starter kit that continues to align itself with default Rails configuration. In this release it comes with Turbo 8, Solid Queue, Thruster, and more.
Mongoid 9.0 released
The first major update for MongoDB’s Ruby on Rails adapter in a couple years is finally out.
Creating Forms in Ruby on Rails with Simple Form
Simple Form helps you to build and manage forms in Rails. Let’s examine what Simple Form is, why we might need it, and some real use cases: https://blog.appsignal.com/2024/05/15/creating-forms-in-ruby-on-rails-with-simple-form.html
Four Things To Take Away From RailsConf 2024
Whether you were at RailsConf and wish we were still there, or missed it and you’re curious, I’ve got you. I wrote about my takeaways from RailsConf 2024. [more inside]
Hidden feature of Turbo: stream actions inside regular HTML
This is not in the documentation but it is possible to insert turbo stream actions anywhere in any rendered HTML and it will just work. This can be handy in a number of situations, Example and details of how it works are in the article (9min read time): Hidden feature of Turbo: stream actions inside regular HTML
Concurrency and parallelism in Ruby 💎
https://mathieu-eustachy.com/articles/concurrency-and-parallelism-in-ruby?locale=en It looks like a philosophy essay title, but they are fundamental developing principles. [more inside]
Hanami shrine
https://2n.pl/blog/hanami-shrine-file-handling-in-hanami Showing an simple, flexible file handling solution in hanami, with ROM-rb ORM, using Shrine. Also contains some of my thoughts on active-storage in comparison to shrine.
Ruby class pattern to work with API requests with built-in async approach
Ruby pattern to connect multiple APIs to your project more easily with async requests approach https://medium.com/@zozulyak.nick/ruby-class-pattern-to-work-with-api-requests-with-built-in-async-approach-bf0713a7dc96
Concurrent-ruby (async) S3 files download
Short intro to concurrent-ruby with S3 files download example https://medium.com/@zozulyak.nick/concurrent-ruby-async-s3-files-download-85f46f298319
Rails Deployments Made Easy with Terraform and Kamal
Looking to spin up and manage a server on the cloud to deploy your Rails applications using Kamal? This video will show you how to create a server on Hetzner Cloud using Terraform, then set up your Rails app to deploy it to the newly-provisioned server with Kamal. https://www.youtube.com/watch?v=uVGo7eZr6wU
My proposal for a better migration versioning
Today I want to share a new approach to Ruby on Rails migration versioning that aims to enhance organization and clarity. [more inside]
Videos to Walkthrough Rails Deployment
Videos are now available that walks you through the steps to deploy Rails app to EC2. Videos
Ruby on Rails Devs Choose Technologies To Do The Best Job Possible For Customers
Ruby on Rails developers who say things like “Oh! It is OK to use any programming language you like! Whatever strikes your fancy is good! JavaScript is OK if that’s what you like. If you prefer TypeScript, go for it!” are some of the… https://andymaleh.blogspot.com/2024/05/ruby-on-rails-devs-choose-technologies.html
Headless UI with StimulusJS and an Outlet
Headless UI 2.0 just came out from TailwindLabs. I often find myself using their components in my projects, and I wanted to show you my process for converting their React components to use Stimulus, since I haven’t been using React in any of my projects. https://onrails.blog/2024/05/08/headless-ui-with-stimulusjs-and-an-outlet-screencast/