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://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
Ruby / Rails Inside
https://ryanbigg.com/2020/02/rom-and-dry-showcase-part-2
Ryan Bigg
ROM + Dry Showcase: Part 2 - Validations & Operations
Ruby / Rails Inside
https://ryanbigg.com/2020/02/rom-and-dry-showcase-part-3
Ryan Bigg
ROM + Dry Showcase: Part 3 - Testing
Ruby / Rails Inside
https://ryanbigg.com/2020/02/rom-and-dry-showcase-part-4
Ryan Bigg
ROM and Dry Showcase: Part 4
Ruby / Rails Inside
https://blog.appsignal.com/2022/08/24/an-introduction-to-ractors-in-ruby.html
Appsignal
An Introduction to Ractors in Ruby | AppSignal Blog
Discover when and why you should use ractors, and build a ractor in Ruby.
Ruby / Rails Inside
https://twitter.com/hopsoft/status/1563261879903870976
Twitter
Could use some beta testers for TurboReady. If you have a Rails 6.1+ app that's already using Turbo. Give it shot and let me know how it goes.
🙏
Ruby / Rails Inside
https://world.hey.com/this.week.in.rails/bugfixes-improvements-and-more-fcdab054
Hey
Bugfixes, improvements and more!
Hi, this is Greg with the latest news from the world of Rails. Return "Range Not Satisfiable" return code for partial downloads with incorrect range This PR fixes an issue when a partial download request with an incorrect range was made. Before the fix, Rails…
Ruby / Rails Inside
https://blog.arkency.com/how-i-migrated-a-rails-app-from-webpack-to-esbuild-and-got-smaller-and-faster-js-builds/
Arkency Blog
How I migrated a Rails app from Webpack to esbuild and got smaller and faster JS builds
Hi, we're Arkency and it's our blog with meaty content.