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://youtube.com/playlist?list=PLbHJudTY1K0f1WgIbKCc0_M-XMraWwCmk
Ruby / Rails Inside
https://blog.saeloun.com/2022/07/20/rails-avoid-query-for-contradictory-relation.html
Saeloun Blog
Rails avoids queries when performing calculations on contradictory relation
Rails now avoids making a query to the database if the calculation contains a contradictory relation
Ruby / Rails Inside
https://www.youtube.com/watch?v=vnDWsGtzOCc&ab_channel=Mix%26Go
YouTube
Turbo Frames vs. Turbo Streams
🔥
FREE SaaS Idea Validation Playbook https://mixandgo.com/lp/idea-validation
🔥
Learn Ruby on Rails https://mixandgo.com/lp/practical-ruby-on-rails
In this video, I explain the differences between Turbo Frames and Turbo Streams.
Ruby / Rails Inside
https://rubyonrails.org/2022/7/22/this-week-in-rails-bugfixes-performance-improvements-and-more-424e272d
Ruby on Rails
Bugfixes, performance improvements and more!
Hi, this is Greg, bringing you the latest news from the Rails world.
Ruby / Rails Inside
https://thoughtbot.com/blog/value-object-semantics-in-ruby
thoughtbot
Value Object Semantics in Ruby
What is the correct behavior of <code>hash</code>, <code>==</code>, <code>eql?</code> and <code>equal?</code> for value objects?
Ruby / Rails Inside
https://ivoanjo.me/blog/2022/07/17/tracing-ruby-global-vm-lock/
ivoanjo.me
Tracing Ruby’s (Global) VM Lock - ivo's awfully random tech blog
Built atop a new Ruby 3.2 feature, the gvl-tracing gem can be used to display a timeline of what your Ruby threads are up to.
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…