The Ruby and Rails community linklog
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Submit a post
Post Preview
Note: Only the first pargraph is shown on the front page and overly long paragraphs may be broken up.
Webhook Backend in Ruby
Hello Rubyists, After the good holidays, here is a new article for those interested in Webhooks and how it works under the hood. With an implementation in Rails :p [more inside]
Glimmer Goes Web!!!
Last September, I gave a talk titled “Intro To Ruby in the Browser” about how to use Ruby for Frontend Development in Rails as a complete replacement for JavaScript as per Matz’s RubyConf 2022 Keynote Speech. I concluded the talk by mentioning a then upcoming project called Glimmer DSL for Web that would make Ruby in the Browser the simplest, most intuitive, most straight-forward, and most productive Software Engineering experience in Frontend Development in any Programming Language or Technology. Well, The future is now! Glimmer DSL for Web (Ruby in the Browser Web GUI Frontend Library) just had its 0.2.2 Beta Release [more inside]
How to Use Brakeman to Find Security Vulnerabilities in your Rails app
Security is a huge concern for all of us and our web applications. [more inside]
Test Doubles: Testing at the Boundaries of Your Ruby Application
One essential tool that we as software developers rely on is known as “test doubles.” These versatile components come in various forms, including dummies, fakes, stubs, spies, and mocks. However, like other power tools, they require careful handling to prevent unintended consequences. [more inside]
Ruby 3.3 Implements Range#reverse_each Method For Very Large or Beginless Ranges And
With Ruby 3.3, Range#reverse_each can now process very large or beginless ranges with an Integer endpoint and raises TypeError for endless ranges. [more inside]
Pagy Out, Turbo In: Transforming Pagination with Infinite Scrolling and Turbo
Miha walks through a very elegant way to implement infinite scrolling using just the tools available out of the box with Rails, relying heavily on Turbo: Pagy Out, Turbo In: Transforming Pagination with Infinite Scrolling and Turbo
Etcher 1.0.0: A flexible configuration loader and transformer.
In case you ever have a need for loading, transforming, and overriding application configuration information and love blending Functional Programming with Object Oriented design via the Railway Pattern, you might enjoy this 1.0.0 release of the Etcher gem. The design is flexible, highly customizable, and fault tolerant (yay, monads). Enjoy!
Awesome Ruby blogs
Hello! 🖐️ See the updated blog list about Ruby and Rails and send me pull request if I missed something! 💎 Thanks and have a nice day! 💎
[Screencast] Turbo 8
With Turbo 8 comes a lot of new features and in this episode, we’ll explore an upgrading a blog post with comments to add in the new functionality. https://www.driftingruby.com/episodes/turbo-8
Understanding Big-O Notation with Ruby
If the whole Big-O notation thing baffled you in college, guess what? [more inside]
New version of DnsMock has been released 🚀
Added ability to mock SRV records. Mimic any DNS records for your test environment and even more:
Montreal.rb Dec 2023 Building LLM-powered Applications
The video of the Dec 2023 Montreal.rb Ruby Meetup A.I. talk “Building LLM-powered Applications” by Andrei Bondarev (Solutions Architect / Owner at Source Labs LLC) has been posted. The 2023 breakthroughs in Generative AI (Artificial Intelligence) have been taking the software development world by storm. We’ll take a look at a few components of what is quickly becoming the modern stack for building LLM (Large Language Model) powered applications. Andrei will build a case for Ruby in the emerging AI trend, and show how some of the AI capabilities can be leveraged today!
Code Archeology: The Evolution of ActionController::Parameters From Rails 4 to 5
Interested in the evolution of ActionController Parameters from Rails 4 to 5? Running behind on your Rails version? [more inside]
From Celluloid to Concurrent Ruby: Practical Examples Of Multithreading Calls
An example of making concurrent API calls with Ruby Thread class, Celluloid and Concurrent Ruby gems. [more inside]
8 Turbo 8 Gotchas
I’ve been using Turbo 8 page morphs in production for the past few weeks since Beta 1 and wrote an article about a few things that I think could trip people up at Hope this helps others to make for a smoother experience with Turbo 8!
Punks, The Mini Edition (12×12px) - Let's Generate Top Selling or Sub1k Ordi Punks
Hello, i prepared a quick starter kit for punks, the mini edition in 12px (“classic” is 24px). yes, 75% less pixels. Generate top selling or ordinal sub1k punk look-alikes in 12px using text-to-image prompts. e.g. orc, eye mask, goat, gold chain or zombie, chinstrap, earring, crazy hair. Yes, in ruby. happy pixel pushing with ruby.
New version of actual_db_schema gem
Entering the New Year with a powerful update to the actual_db_schema gem - version 0.6.0. It adds db:phantom_migrations rake task to effortlessly view all phantom migrations in the current branch. Explore the details in this PR:
Business Class 1.3 released with support for Stripe
Start your 2024 business on Business Class, a Ruby on Rails SaaS template! The new version comes with support for Stripe and an improved CRUD generator. Read more