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.
Glimmer DSL for SWT 4.23.1.0 Video Tutorials in Meta-Sample
Glimmer DSL for SWT 4.23.1.0 ships with a number of changes, including being able to launch Video Tutorials from the Glimmer Meta-Sample directly to follow and learn step by step. [more inside]
Improve your specs quality with branch coverage
It’s a common practice to measure the quality of tests using line coverage. Unfortunately, in some cases, it’s not enough. https://kukicola.io/posts/improve-your-specs-quality-with-branch-coverage/
Rubber Duck Dev Show Episode 40 | To DRY or Not To DRY
Hear two rubyists discuss whether to keep your code DRY, WET or let it ROT: https://www.rubberduckdevshow.com/episodes/40-to-dry-or-not-to-dry/
rails_charts
https://github.com/railsjazz/rails_charts is another way to generate charts in your Rails app. Simple and powerful. Lots of customization and pre-build helpers to generate 15+ charts.
Glimmer DSL for SWT Video Tutorial 13 - Hello, Table!
Desktop development is about 10 times simpler than web development. Learn it and you will become a better web developer as you transfer the simplicity of desktop development to the web! Glimmer DSL for SWT Video Tutorial 13 is out! It walks software engineers through Hello, Table! [more inside]
Bootstrap 5 in Rails 7
In article this article I’ll show you how to use Bootstrap 5 in Rails 7 [more inside]
Parameterized Rails associations
Build “smart” associations that need a parameter such as current user or other similar global objects [more inside]
Ruby block, procs and lambda
A classic but very useful feature of Ruby core : block, procs and lambda https://www.bootrails.com/blog/ruby-block-procs-and-lambda/
ActionController::Redirecting::UnsafeRedirectError
in Rails 7 if you get ActionController::Redirecting::UnsafeRedirectError [more inside]
4 Ways to Create Dependent Drop-Downs With Ruby on Rails 7
In this video, we’re going to look at four ways to build dependent drop-downs, the kind where you need to fill in one before the second one gets populated, and so on. [more inside]
How to configure field extensions using keyword arguments in GraphQL Ruby
A short post on configuring extensions for graphql-ruby fields using kwargs
What’s Next for Bridgetown, Cherry Blossoms 2022 Edition
Now that we’ve had a bit of time to breathe and get fully settled into v1.0, there is a myriad of enhancements and fixes we’re looking to pull together for the next point release. Here’s a sneak peek.
dry-validation - The one gem to validate them all! | Hanami Mastery episode #20
Validating data input is an extremely important problem to tackle in all applications. In Ruby ecosystem there is no better tool for that than dry-validation. Here is why! [more inside]
Rubber Duck Dev Show Episode 39 | Where Should You Put Business Logic?
Hear two rubyists answer the question where should you put business logic in your application: https://www.rubberduckdevshow.com/episodes/39-where-should-you-put-business-logic/
A Complete Guide to Optimizing Slow Tests
We have released a new guide containing every piece of wisdom we could muster to help you write fast tests and keep them fast. https://semaphoreci.com/resources/complete-guide-to-optimizing-slow-tests?utm_medium=social&utm_source=smgroups&utm_campaign=guideoptimizingtests
RuboCop Turns 10
Today RuboCop celebrates its 10th anniversary! I wrote a short article dedicated to this festive occasion and I’ve cut a special anniversary release - RuboCop 1.28. Enjoy!
Glimmer DSL for SWT Video Tutorial 12 - Hello, Tree!
Desktop development is about 10 times simpler than web development. Learn it and you will become a better web developer as you transfer the simplicity of desktop development to the web! Glimmer DSL for SWT Video Tutorial 12 is out! It walks software engineers through Hello, Tree! [more inside]
How to Add Filtering & Pagination to Your Data Tables With Hotwire
Having a way to filter records in a table was always clunky in Rails because you’d either have to write a lot of javascript and figure out how to make it work with pagination, or you’d not use Javascript at all and only do it server-side but that didn’t feel very responsive and modern. [more inside]
rodauth-oauth 0.9.0 released (Client Credentials Grant, Dynamic Client Registration)
rodauth-oauth is a rack-compatible toolkit for building OAuth 2.0 authorization servers, as well as OpenID Authentication Providers. [more inside]
The underrated power of dry-schema | Hanami Mastery Ep#19
Do you validate enough? In this episode I challenge you! Meet one of the most powerful DRY gems, dry-schema! [more inside]
Maryam Umar: How to Advance Your Career and Grow the Team in Test Automation
A great interview about careers in test automation and growing engineering teams. [more inside]
How to run a really long task from a Rails web request
A short post on forking a process from a Rails controller (and whether to actually do it or not). [more inside]