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.
My experience attending the Rails SaaS conference
Throughout my career, I’ve helped build other people’s dreams and assisted in making them independently wealthy. Why hadn’t I considered doing this myself? Answer: I didn’t think I could. [more inside]
ROM-Factory - Your testing buddy from for Hanami apps.
Check the FactoryBot alternative, [suited for ROM-based applications])(https://hanamimastery.com/episodes/31-rom-factory ), including Hanami 2. [more inside]
Ruby on Rails 7 — High-performance frontend development with Esbuild, Rollup & Vite
Fast Server Start -Unlike Webpacker, files are processed on demand! Instant Changes - Fast updates thanks to HMR. Goodbye, full-page reloads! Zero-Config Deploys - Integrates with Rake asset management tasks. [more inside]
Montreal.rb Talk 2022-10 Glimmer DSL for SWT - Ruby Desktop Development GUI Framework
This is the most up-to-date and complete Glimmer DSL for SWT presentation for building and packaging native desktop applications in Ruby! Check out the talk’s video and slides that were just posted! [more inside]
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]