Ruby / Rails Inside
@rubyinside
735
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
735 subscribers
Ruby / Rails Inside
https://www.honeybadger.io/blog/documentation-worklow-rails/
Honeybadger Developer Blog
Building a Documentation Workflow in Rails
Good docs make happy customers. But documentation is HARD. You have to figure out what's important and write it up in a way that's tailored to your audiences and consistent across the site. Now you need to set up a website, publish the docs and maintain…
Ruby / Rails Inside
https://blog.testdouble.com/posts/2021-07-19-benchmarking-your-ruby-with-time_up/
Test Double Blog
Benchmarking your Ruby with time_up
time_up is a new Ruby gem for managing timers to measure your code's performance.
Ruby / Rails Inside
https://blog.saeloun.com/2021/07/20/rails-7-allows-nested-locales
Saeloun Blog
Rails 7 allows loading nested locales in the engine
Rails 7 allows loading nested locales inside the `/locales` directory by default for better organization in larger apps.
Ruby / Rails Inside
https://www.youtube.com/channel/UCgXsZr2e0AgUJMZm5t03WVw
Ruby / Rails Inside
https://blog.thegnar.co/active-model-validations-csv
blog.thegnar.co
The Gnar Blog - Validate CSV Input With ActiveModel::Validations
Ramblings from The Gnar Company team on all things tech, culture, and process.
Ruby / Rails Inside
https://releasehub.com/blog/how-release-uses-action-cable-redux-toolkit
Releasehub
How Release Uses Action Cable and Redux Toolkit
Walk through setting up Action Cable messages that are received by a React Component hooked up to Redux Toolkit.
Ruby / Rails Inside
https://weblog.rubyonrails.org/2021/7/23/this-week-in-rails-active-record-improvements-and-much-more/
Riding Rails
Active record improvements and much more
Hi, Wojtek here presenting quite a lot of changes from the past week.
Ruby / Rails Inside
https://hanamimastery.com/episodes/7-untangle-your-app-with-dry-monads
Hanami Mastery - a knowledge base to hanami framework
Untangle your code with MORE than service objects! Meet dry-monads!
Everyone knows how messy Rails controllers can be come. In this episode, I'm implementing the service-pattern on steroids using dry-monads in my sample Rails application.
Ruby / Rails Inside
https://hanamimastery.com/articles/dry-rb-dependency-graph
Hanami Mastery - a knowledge base to hanami framework
I've made a dependency graph for DRY-RB Ruby gems family
Have you ever wondered which DRY-RB library learn first? I did when I started with DRY-RB. I hope this will help!
Ruby / Rails Inside
https://kirshatrov.com/posts/quick-ruby-script-in-k8s/
Ruby / Rails Inside
https://blog.saeloun.com/2021/07/27/rails-7-belongs-to-change-tracking.html
Saeloun Blog
Rails 7 adds change tracking methods for belongs_to associations
Rails 7 adds the ability to track if an association has been pointed to a new target record in the previous save and whether it will point to a new target record in the next save.
Ruby / Rails Inside
https://prabinpoudel.com.np/articles/search-engine-with-rails/
probn
Search Engine with Rails - Prabin Poudel - Rails & Web App Developer | Freelancer
Yes! You can create a full functioning search engine with Rails. In this tutorial you will be learning how to create a search engine with Rails by using elasticsearch. You will learn to configure elasticsearch in the rails app, create search view to search…
Ruby / Rails Inside
https://www.ombulabs.com/blog/learning/webpacker/webpack-all-the-assets.html
Webpack ALL The Assets!! by @arieljuod
Webpack ALL the Assets!! - The Lean Software Boutique
With the release of Rails 6, Webpack was introduced as the default JavaScript bundler by using the Webpacker gem. We tend to think about Webpack on...
Ruby / Rails Inside
https://world.hey.com/jorge/making-rails-run-just-a-few-tests-faster-2c82dc4b
Hey
Making Rails run just a few tests faster
Some time ago, I learned that Rails parallel testing had a significant overhead due to database setup and fixture loading. Essentially, each process will set up its own database and load all the fixtures, and this is not free for non trivial datasets. Fixtures…
Ruby / Rails Inside
https://www.dmitry-ishkov.com/2021/07/http-server-in-ruby-3-fibers-ractors.html
Dmitry-Ishkov
HTTP server in Ruby 3 - Fibers & Ractors
This is part #2. Head over to part #1 to learn about HTTP in Ruby. Motivation Historically Ruby's been lacking in the concurr...
Ruby / Rails Inside
https://weblog.rubyonrails.org/2021/7/31/this-week-in-rails-favicons-invalidauthenticitytoken-message-gains-journey-optimizations-and-more/
Riding Rails
Favicons, InvalidAuthenticityToken message gains, Journey optimizations and more!
Hello, zzak here! Congrats on making it through another month and another week of Rails development.
Ruby / Rails Inside
https://sorbet.org/blog/2021/07/30/open-sourcing-sorbet-compiler
sorbet.org
Sorbet Compiler: An experimental, ahead-of-time compiler for Ruby · Sorbet
For the past year, the [Sorbet](https://sorbet.org/) team has been working on an experimental, ahead-of-time compiler for Ruby, powered by Sorbet and LLVM. Today we're sharing the source code for it. It lives alongside the existing code for Sorbet on GitHub…
Ruby / Rails Inside
https://www.honeybadger.io/blog/activerecord-update-counters-race-conditions/
Honeybadger Developer Blog
Using ActiveRecord's #update_counters to Prevent Race Conditions
Race conditions are arguably the most insidious kind of bug; they're intermittent, subtle, and most likely to occur in production. ActiveRecord's `update_counter` prov...
Ruby / Rails Inside
https://www.driftingruby.com/episodes/hotwire-turbo-replacing-rails-ujs
Drifting Ruby
Episode 307 - Hotwire Turbo Replacing Rails UJS | Drifting Ruby
In this episode, we look at some common functionality that we got with Rails UJS and what it looks like to reimplement these with Hotwire's Turbo and StimulusJS.
Ruby / Rails Inside
https://gorails.com/episodes/dynamic-select-fields-with-rails-hotwire
Gorails
Dynamic Select Fields in Rails with Hotwire | GoRails
Need to dynamically update fields when a user changes a select box? We can do that easily in Rails using Hotwire's Turbo Stream actions.