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://evilmartians.com/chronicles/viewcomponent-in-the-wild-building-modern-rails-frontends
evilmartians.com
ViewComponent in the Wild I: building modern Rails frontends—Martian Chronicles, Evil Martians’ team blog
Learn why GitHub's ViewComponent library offers a great approach for building modern Ruby on Rails apps, and why you should give it a shot, too!
Ruby / Rails Inside
https://blog.saeloun.com/2022/10/18/fix-cache-when-querying-with-mutable-params.html
Saeloun Blog
Rails no longer produces false-positive query cache hits when querying with mutable bound parameters
ActiveRecord now dups and freezes complex types when making query attributes which prevents false-positive query cache hits.
Ruby / Rails Inside
https://hanamimastery.com/episodes/32-rom-pagination
Hanami Mastery - a knowledge base to hanami framework
Pagination in Hanami apps with ROM
There are plenty of popular ways to handle pagination in Ruby apps. But did you know, that ROM supports Pagination out of the box? And so Hanami does? In this episode, I'll show you how to quickly implement pagination from scratch for your Hanami projects.
Ruby / Rails Inside
https://engineering.grab.com/deep-dive-into-database-timeouts-in-rails
Grab Tech
Deep Dive into Database Timeouts in Rails
Disaster strikes when you do not configure timeout values properly. In this post, we dive into the details of how timeouts work with Ruby on Rails and Databases.
Ruby / Rails Inside
https://shopify.engineering/relationships-between-ruby-top-100-packages-dependencies
Shopify
Finding Relationships Between Ruby’s Top 100 Packages and Their Dependencies - Shopify
As packages frequently depend on other packages, could some of these big (more than 180M downloads) packages depend on small (less than 180M downloads) packages?
Ruby / Rails Inside
https://github.com/puma/puma/blob/master/6.0-Upgrade.md
GitHub
puma/6.0-Upgrade.md at master · puma/puma
A Ruby/Rack web server built for parallelism. Contribute to puma/puma development by creating an account on GitHub.
Ruby / Rails Inside
https://blog.appsignal.com/2022/10/19/improve-code-in-your-ruby-application-with-rubycritic.html
Appsignal
Improve Code in Your Ruby Application with RubyCritic | AppSignal Blog
Let's take a look at RubyCritic and dig into RubyCritic's reports.
Ruby / Rails Inside
https://world.hey.com/this.week.in.rails/an-active-record-improvement-performance-gains-and-a-bugfix-5254976c
Hey
An Active Record improvement, performance gains and a bugfix!
Guten Tag! Emmanuel here again, with some updates from Rails. Don't trigger after_commit :destroy callback again on destroy if record previously was destroyed The after_commit :destroy callback would always run even if a record was destroyed previously. This…
Ruby / Rails Inside
https://evilmartians.com/chronicles/viewcomponent-in-the-wild-supercharging-your-components
evilmartians.com
ViewComponent in the Wild II: supercharging your components—Martian Chronicles, Evil Martians’ team blog
Learn how to supercharge your ViewComponent-based code with various techniques that we use in our projects at Evil Martians.
Ruby / Rails Inside
https://blog.testdouble.com/posts/2022-10-25-building-passwordless-email-auth-in-rails/
Test Double
Building passwordless email auth in Rails
Adding authentication to your Rails app but don't want to store passwords or rely on third-party OAuth? Let's build a passwordless login system that emails users magic links!
Ruby / Rails Inside
https://www.youtube.com/watch?v=BbLGqTxTRp0
YouTube
[EN]Building a Lightweight IR and Backend for YJIT / Maxime Chevalier-Boisvert @maximecb
Ruby / Rails Inside
https://www.mikeperham.com/2022/10/27/introducing-sidekiq-7.0/
Mikeperham
Introducing Sidekiq 7.0 | Mike Perham
Ruby, OSS and the Internet
Ruby / Rails Inside
https://www.mikeperham.com/2022/10/27/sidekiq-7.0-embedding/
Mikeperham
Sidekiq 7.0: Embedding | Mike Perham
Ruby, OSS and the Internet
Ruby / Rails Inside
https://world.hey.com/this.week.in.rails/more-intuitive-checking-of-form-check-boxes-and-radio-buttons-2c4b3e21
Hey
More intuitive checking of form check boxes and radio buttons
Hi, Wojtek here with this week's news from the Rails world. Support checked as a keyword argument in check_box_tag and radio_button_tag Now the form helper f.check_box "admin", checked: falseworks as expected. Previously it had to be passed as positional…
Ruby / Rails Inside
https://www.crunchydata.com/blog/crunchy-bridges-ruby-backend-sorbet-tapioca-and-parlour-generated-type-stubs
Crunchy Data
Crunchy Bridge's Ruby Backend: Sorbet, Tapioca, and Parlour-Generated Type Stubs | Crunchy Data Blog
Get under the hood of the Crunchy Bridge platform. We dig into some of the development codebase with Ruby, Sorbet, Parlour, and the Sequel ORM. Read about why we’re using these tools and what they bring to the table for the long term.
Ruby / Rails Inside
https://vanilla-rails.37signals-dev-blog.pages.dev/vanilla-rails-is-plenty
Ruby / Rails Inside
https://berk.es/2022/08/09/ruby-slow-database-slow/
berk.es
It's not Ruby that's slow, it's your database
Ruby / Rails Inside
https://world.hey.com/this.week.in.rails/this-week-in-rails-a-bugfix-and-improvements-5cb2ec4e
Hey
This Week in Rails: A bugfix and improvements!
Hi there, This is Greg, bringing you the latest changes in Rails. Fix Enumerable#many? to handle all block parameters Before this fix, Enumerable#many? didn't forward the block parameters to the block, so if someone called it in a chain with each_with_index…
Ruby / Rails Inside
https://www.ruby-lang.org/en/news/2022/11/11/ruby-3-2-0-preview3-released/
www.ruby-lang.org
Ruby 3.2.0 Preview 3 Released
Ruby / Rails Inside
https://andycroll.com/ruby/safely-remove-a-column-field-from-active-record/
Andy Croll
Safely Remove a Column from an Active Record Model
Avoid migration-related errors when you’re tidying your database
Ruby / Rails Inside
https://mensfeld.pl/2022/11/rspec-story-about-disappearing-classes/
Closer to Code
RSpec story about disappearing classes - Closer to Code
ActiveSupport#descendants can be slow. In a bigger system with layers of descendants, finding all of them can be time-consuming: puts Benchmark.measure do 100.times { Dispatchers::Base.descendants } end # 5.235370 0.015754 5.251124 ( 5.251069) In the code…