Ruby / Rails Inside
@rubyinside
732
subscribers
15
photos
2.51K
links
Daily Ruby / Ruby on Rails articles. Curated channel.
Faker::Hacker.say_something_smart
Suggest link/news
https://t.me/NoMethodError
Download Telegram
Join
Ruby / Rails Inside
732 subscribers
Ruby / Rails Inside
https://sorbet.org/blog/2022/07/27/srb-tapioca
sorbet.org
Tapioca is the recommended way to generate RBIs for Sorbet · Sorbet
Today we're excited to announce that the Sorbet team officially recommends using
Ruby / Rails Inside
https://blog.appsignal.com/2022/07/27/how-to-track-down-memory-leaks-in-ruby.html
Appsignal
How to Track Down Memory Leaks in Ruby | AppSignal Blog
Let's explore how Ruby manages memory, garbage collection, and how to uncover a leak, in the first of this two-part series on memory leaks in Ruby.
Ruby / Rails Inside
https://engineering.gusto.com/scaling-sidekiq-at-gusto/
Gusto Engineering
Scaling Sidekiq at Gusto
Over the past year at Gusto, we’ve drastically changed how we approach Sidekiq in our main Rails monolith. This post dives in.
Ruby / Rails Inside
https://blog.appsignal.com/2022/08/03/connect-a-ruby-on-rails-app-with-react-in-a-monolith.html
Appsignal
Connect a Ruby on Rails App with React in a Monolith | AppSignal Blog
Learn about the three main types of app architecture, then connect React with your monolith Ruby on Rails app.
Ruby / Rails Inside
https://www.mikeperham.com/2022/07/29/sidekiq-and-request-specific-context/
Mikeperham
Sidekiq and Request-Specific Context | Mike Perham
Ruby, OSS and the Internet
Ruby / Rails Inside
https://github.com/hotwired/turbo/releases/tag/v7.2.0-beta.1
GitHub
Release v7.2.0-beta.1 · hotwired/turbo
What's Changed
This is not a feature-complete release of Turbo 7.2.0. Follow along on the 7.2.0 milestone to track the pending PRs we hope to include in the final release. But please help us th...
Ruby / Rails Inside
https://world.hey.com/this.week.in.rails/strict-template-locals-detecting-unused-routes-and-an-improved-find_or_create_by-1366f9d7
Hey
Strict template locals, detecting unused routes and an improved fin...
Hi, Petrik here with some updates on activities in Rails and associated projects over the last week. Allow templates to set strict locals By default, templates will accept any locals as keyword arguments. To define what locals a template accepts, add a locals…
Ruby / Rails Inside
https://mensfeld.pl/2022/08/karafka-framework-2-0-announcement/
Closer to Code
Karafka framework 2.0 announcement - Closer to Code
Table of Contents1 Getting started2 Noticeable features and improvements2.1 Multi-threading2.2 Virtual Partitions2.3 Active Job support2.4 End-to-end integration test suite2.5 Lower supply chain fingerprint2.6 Upgraded documentation2.7 Out-of-the-box DataDog…
Ruby / Rails Inside
https://bhserna.com/active-record-playground-runner-introduction.html
Bhserna
Active Record Playground Runner Introduction
Have you ever wanted to just create an active record example to someone in your team without thinking in the database setup?
Or maybe send two different models designs with some examples to see the difference, but the setup what just to difficult...
Ruby / Rails Inside
https://shopify.engineering/when-jit-faster-than-compiler
Shopify
When is JIT Faster Than A Compiler? - Shopify
I had this conversation over and over before I really understood it. It goes:
“X language can be as fast as a compiled language because it has a JIT compiler!”
“Wow! It’s as fast as C?”
“Well, no, we’re working on it. But in theory, it could be even FASTER…
Ruby / Rails Inside
https://wasabigeek.com/blog/visitor-pattern-in-ruby-rubocop/
Wasabigeek
Visitor Pattern in Ruby: Examples from Rubocop
The visitor design pattern separates the operation to be performed from the object structure. We look at a concrete implementation in Rubocop, a Ruby linting and formatting library.
Ruby / Rails Inside
https://medium.com/beambenefits/using-the-result-pattern-with-rails-services-a77846dcfd3e
Medium
Using the Result pattern with Rails services
You should be writing services
Ruby / Rails Inside
https://planetscale.com/blog/fastpage-faster-offset-pagination-for-rails-apps
Planetscale
Introducing FastPage: Faster offset pagination for Rails apps — PlanetScale
Introducing FastPage a new gem for ActiveRecord that speeds up deep pagination queries.
Ruby / Rails Inside
https://mpov.timmorgan.org/i-built-a-ruby-compiler/
mpov.timmorgan.org
I Built a Ruby Compiler | My Point of View
Note: Please don’t share this on Hacker News – I don’t need the grief from gatekeepers telling me I don’t know how to write a compiler. This is an account for myself and for friends. /hugs
I said in my previous post, I Built a Ruby Parser, that I would write…
Ruby / Rails Inside
https://boringrails.com/articles/thinking-in-hotwire-progressive-enhancement/
Boring Rails: Skip the bullshit and ship fast
Thinking in Hotwire: Progressive Enhancement
Your mental model for Hotwire should be progressive enhancement: start with the basics and layer on Turbo Frames, Streams, and Stimulus as you build more.
Ruby / Rails Inside
https://world.hey.com/this.week.in.rails/logging-raising-and-rescuing-errors-and-a-fix-for-a-query-method-564753b7
Hey
Logging, raising and rescuing errors and a fix for a query method.
Cześć! I'm Emmanuel, and I have some updates for you from Rails. Log a warning if ActiveSupport::Cache is given an expiration in the past Imagine trying to write/fetch to/from a cache and the operation fails silently because `expires_at` is in the past...…
Ruby / Rails Inside
https://kirshatrov.com/posts/ruby-concurrency-and-ecosystem/
Ruby / Rails Inside
https://youtu.be/NM6xf4kEPvU
YouTube
MQTT Messaging Protocol for Internet of Things with Ruby
► Check out https://gorails.com for Pro episodes and more!
► SaaS business template for Ruby on Rails with built-in features like Payments, Teams, and much more: https://jumpstartrails.com
► Ruby on Rails hosting with Hatchbox.io: https://hatchbox.io
…
Ruby / Rails Inside
https://blog.saeloun.com/2022/08/23/rails-7-take-screenshot-params.html
Saeloun Blog
Rails 7 now accepts "html" and "screenshot" kwargs for system test screenshot helper
Pass in parameters to take_screenshot to choose an output format between image and HTML file.
Ruby / Rails Inside
https://ryanbigg.com/2020/02/rom-and-dry-showcase-part-1
Ryan Bigg
ROM + Dry Showcase: Part 1 - Application + Database setup