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.
How to RSpec a Jbuilder response from a Rails JSON API
Want to write a Rails API controller test and make sure it includes exactly what your Jbuilder serializer returns? You need to enable render_views. Learn why in this post.
Rubber Duck Dev Show Episode 60 | A Beginner's Journey with @CodeWithJulie
In this episode of the Rubber Duck Dev Show, we discuss a beginner’s journey in terms of getting started with programming with our guest @CodeWithJulie: https://www.rubberduckdevshow.com/episodes/60-beginners-journey-with-codewithjulie/
The final trick when moving from Rails CRUD to Event Sourcing
Did you ever wonder how to actually switch the model from the CRUD one to EventSourcing? There’s one thing you should consider. The initial event that has to be published for existing data. Also called the opening balance. [more inside]
Slack Smart Bot v1.12.1 released
Slack Smart Bot v1.12.1 released!! Added or improved: Time off and teams management, Memos for teams, Contact/Ping teams, Improvements on REPLS … https://github.com/MarioRuiz/slack-smart-bot
Improving Security in Your CI/CD Pipeline
Learn how to keep your CI/CD pipeline secure in this article. [more inside]
🇺🇦 New version of smtp_mock 📤 has been released 🚀 🇺🇦 🚀
Fixed incompatible with latest smtpmock version (wrong semantic version comparison). Mimic any 📤 SMTP server behaviour for your test environment with fake SMTP server: https://github.com/mocktools/ruby-smtp-mock
Security Best Practices for Your Rails Application
Ensure your Rails application stays secure by following some best practices and habits. https://blog.appsignal.com/2022/10/05/security-best-practices-for-your-rails-application
Hotwire Introduction
Hotwire is an alternative approach to building modern web applications without using much JavaScript by sending HTML instead of JSON over the wire. With Rails 7, we get Hotwire added in by default. In this episode, we look at some of the features with Hotwire and how to use them. https://www.driftingruby.com/episodes/hotwire-introduction
Ruby-on-Rails authentication tutorial with Devise
Ruby-on-Rails has no built-in authentication mechanism. So let’s pick the well-known gem Devise in this tutorial..Read more
The Great Ruby Enum Debate - Join Us
Hello, as you know (and for sure nobody cares) I got cancel cultured twice (on r/ruby and ruby-talk) - anyways - if anyone is interested in enum data types / classes / gems for ruby I invite you to join the Great Enum Debate / Discussion over on GitHub (at an issue ticket of the latest & greatest enums gem - now turned / converted into a discussion thread). Questions and comments welcome. Please, use the GitHub ~issue ticket~ discussion thread .
..in Montreal..see why JRuby is such a powerful tool..for building..desktop apps
“Great opportunity next week in Montreal to see why JRuby is such a powerful tool for building scalable, cross-platform desktop applications… entirely in Ruby!” - JRuby Dev Team [more inside]
Simplify your system debugging by introducing event store linking
Last week I was dealing with an interesting bug. In our system, there was a user that didn’t belong to any tenant. And a tenant that didn’t have any users. It’s a situation that shouldn’t happen in our application. [more inside]
How to Install Bootstrap in Rails 7
With the introduction of the new asset pipeline, there are a lot of new tools available for you to use. So the question is, “How do you install Bootstrap in Rails 7?” [more inside]
Build A SaaS App In Ruby on Rails Ebook Rewrite for Rails 7
The rewrite is about about 75% of the way through the rewrite of the book and looking to have the book done very soon. Here are some of the changes: [more inside]
Rubber Duck Dev Show Episode 59 | Rails & Postgres Scaling with Andrew Atkinson
In this episode, we discuss scaling your Ruby on Rails web application as well as your Postgres database with Andrew Atkinson: https://www.rubberduckdevshow.com/episodes/59-rails-postgres-scaling-with-andrew-atkinson/
Ruby vs JavaScript
Ruby and JavaScript and two fantastic languages for the web. Let’s see the difference between them, to help you to learn Javascript if you know Ruby, and vice-versa..Read more on Bootrails
Glimmer DSL for SWT Video Tutorial 34 - Hello, Refined 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! [more inside]