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://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.
Ruby / Rails Inside
https://www.ruby-lang.org/en/news/2021/08/03/fukuoka-ruby-award-2022/
www.ruby-lang.org
2022 Fukuoka Ruby Award Competition - Entries to be judged by Matz
Ruby / Rails Inside
https://jemma.dev/blog/esoteric-ruby-in-memowise
Jemma Issroff
Esoteric Ruby in MemoWise
This post was co-written by Jacob Evelyn.
Ruby / Rails Inside
https://railsautoscale.com/heroku-logs-tools/
Railsautoscale
Power tools for analyzing your Heroku logs
Extract fields and perform aggregations on your Heroku logs. All in real-time, with beautiful, human-readable output.
Ruby / Rails Inside
https://blog.saeloun.com/2021/08/03/ruby-adds-integer-try-convert.html
Saeloun Blog
Ruby 3.1 adds try_convert method to Integer class for implicit conversions
try_convert for Integer will convert the object into an instance of the class via the implicit conversion method to_int and returns nil if no implicit conversion method is defined.
Ruby / Rails Inside
https://davidmles.medium.com/setting-up-rails-6-1-tailwind-css-2-2-with-jit-41a237ca22dc
Medium
Setting Up Rails 6.1 + Tailwind CSS 2.2 with JIT
I’m going to show you how to create a project with Rails 6.1 and its default Webpacker version (4.5), and configure Tailwind CSS with its…
Ruby / Rails Inside
https://blog.saeloun.com/2021/08/04/active-record-calculations-column-based-type-casting.html
Saeloun Blog
ActiveRecord::Calculations will now use column-based type casting
Rails 7 now harmonizes results of ActiveRecord::Calculations.average by applying column-based typecasting. Now, floating-point number columns will be aggregated as Float.