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.
Stack Overflow vs ChatGPT & AI's Impact | Rubber Duck Dev Show 106
In this episode, we discuss the differences between using Stack Overflow and ChatGPT for finding software development answers. We also discuss what the overall impact of AI might be in the future: https://www.rubberduckdevshow.com/episodes/106-stack-overflow-vs-chatgpt-ai-impact/
Benry-UnixCommand v1.0.0 released
Benry-UnixCommand v1.0.0 released. (Document) [more inside]
Glimmer DSL for LibUI Custom Shapes
Glimmer DSL for LibUI 0.10.1 & 0.10.0 ship with support for building and scaffolding Area Canvas Graphics Custom Shapes (with optional Gemification). Custom shapes represent higher-order graphical concepts, like cube, cylinder, and uml_class, that could be formed out of more rudimentary shapes like rectangle, circle, bezier, and text, to aggregate and simplify interaction with them as coarse-grained components in a desktop application. Custom Shapes improve productivity significantly through code reuse in graphical desktop applications that rely on Area Canvas Graphics, like UML Diagramming tools, Traffic Control Signalling apps, and games… https://andymaleh.blogspot.com/2023/10/glimmer-dsl-for-libui-custom-shapes.html
FactoryBot for Rails testing
Dive into FactoryBot to ensure your testing data is reliable and consistent. https://www.honeybadger.io/blog/factorybot-for-rails-testing-md/
Limiting Maximum Index Name Length in Ruby on Rails 7.1
Read more about limiting Maximum Index Name Length in Ruby on Rails 7.1 [more inside]
Rails Authentication compliance requirements
“Suppose you are working on a Rails application that needs to meet specific security compliance requirements like PCI, ISO 2007, or SOC2. In that case, one of the objectives is to have proper authentication and access control.” [more inside]
How to skip all callbacks for all models in Rails
I explored a couple of solutions about how to skip all callbacks on ActiveRecord models. It goes from using conditional callbacks to Patching ApplicationRecord and using the Suppresor from Rails.
Pessimistic Locking in Rails
This is the second part of a series about Advisory Locks that I dig in after I had the opportunity to interview @bensheldon, the creator and maintainer of GoodJob. This is about pessimistic locking in Rails. [more inside]
The future of full-stack Rails II: Turbo View Transitions
In the last part of this series, we show how to breathe new life into our apps, adding slick page transition animations (without the hassle) via Turbo and the View Transitions API. [more inside]
Mastering Rails Web Navigation with link_to and button_to Helpers - Part 2
Having laid the groundwork in Part 1, we’re now poised to dive into the heart of web navigation in Rails. In this part, we’ll focus on the magic of the link_to and button_to helpers, starting with the ever-versatile link_to. These helpers are the unsung heroes that power the seamless navigation experience we often take for granted. [more inside]
Mastering Rails Web Navigation with link_to and button_to Helpers - Part 1
We explore the Rails web navigation system, understand how Rails handles requests, and delve deep into the world of middleware. Part 1 [more inside]
The Burnout Show With Kota Weaver | Rubber Duck Dev Show 105
In this episode, we discuss dealing with burnout (mostly in software development) with Kota Weaver: https://www.rubberduckdevshow.com/episodes/105-the-burnout-show-with-kota-weaver/
Better Know A Ruby Thing: Constants
Constants aren’t constant, how Ruby finds and uses constants, and, of course, what metaprogramming you can do when constants are missing. [more inside]