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://bigbinary.com/blog/rails-6-1-adds-validate-numericality-in-range-option
BigBinary
Rails 6.1 adds support for validating numeric values that fall within a specific range using the `in:` option
Rails 6.1 series | Rails 6.1 adds support for validating numeric values that fall within a specific range using the `in:` option
Ruby / Rails Inside
https://blog.saeloun.com/2021/04/13/rails-enable-scoping-to-apply-to-all-queries.html
Saeloun Blog
Rails 7 enables scoping to apply to all queries
Rails 7 allows passing all_queries option to the scoping method. This change allows the scoping method to work on all queries for a model in a block.
Ruby / Rails Inside
https://blog.saeloun.com/2021/04/14/enqueue-failures-to-perform-later-rails.html
Saeloun Blog
Rails 7 ActiveJob adds the ability to communicate enqueue failures to callers
ActiveJob's `perform_later` method provides a clean way of communicating enqueued job failures to the caller method, allowing developers to handle errors more efficiently.
Ruby / Rails Inside
https://blog.appsignal.com/2021/04/14/ruby-on-rails-controller-patterns-and-anti-patterns.html
Appsignal
Ruby on Rails Controller Patterns and Anti-patterns | AppSignal Blog
In this part of the series on Rails patterns and anti-patterns, we are going to analyze the final part of the MVC (Model-View-Controller) design pattern — the Controller.
Ruby / Rails Inside
https://pawelurbanek.com/explain-analyze-indexes
Rails, PostgreSQL Performance Audit and Tuning Consultant for Hire
PostgreSQL EXPLAIN ANALYZE for Web Developers [Indexes]
Interpreting the output of SQL EXPLAIN ANALYZE might seem like dark magic at first. I'm starting a series of blog posts where I'll be well... explaining it based on common use cases from web applications. Read on if you've ever wanted to start using EXPLAIN…
Ruby / Rails Inside
https://blog.arkency.com/how-to-delete-jobs-from-sidekiq-retries/
Arkency Blog
How to delete jobs from Sidekiq Retries
Hi, we're Arkency and it's our blog with meaty content.
Ruby / Rails Inside
https://medium.com/@nashby_/ruby-3-0-changes-how-methods-of-subclassed-core-classes-work-5e0536d54503
Medium
Ruby 3.0 changes how methods of subclassed core classes work.
First of all, most likely you shouldn’t inherit from Ruby’s core classes. But if you still want to do it, it’s better to know what was…
Ruby / Rails Inside
https://blog.cmol.me/creating-a-udp-server-with-ruby-ractors-be4ff65a8400
Medium
Creating a UDP server with Ruby Ractors
Ruby 3.0 introduces Ractors, a concept that lets you create true parallel execution with messages flowing between Ractors…
Ruby / Rails Inside
https://code.dblock.org/2021/04/16/adding-work-email-to-a-gpg-key-and-signing-git-commits.html
code.dblock.org | tech blog
Adding Work E-Mail to a GPG Key and Signing Git Commits
Last week I joined the OpenSearch Team at AWS, a community-driven, open source fork of Elasticsearch and Kibana (read more about it here).
Security is always our top priority at AWS, so I had to learn some new development best practices in this area. One…
Ruby / Rails Inside
https://okuramasafumi.github.io/alba/
Ruby / Rails Inside
https://prathamesh.tech/2021/04/18/bundler-2-2-3-and-deployment-of-ruby-apps/
Prathamesh Sonpatki
Bundler 2.2.3+ and deployment of Ruby apps
Fix deployment of Ruby/Rails apps with bundler 2.2.3 and above by adding the deployment platform to Gemfile.lock.
Ruby / Rails Inside
https://www.honeybadger.io/blog/rails-activesupport-stringinquirer/
Honeybadger Developer Blog
Rails' Hidden Gems: ActiveSupport StringInquirer
If you've ever checked the environment in your Rails app with Rails.env.production? you've used a fascinating little utility class called StringInquirer. In this post, Jonathan Miles dives into the rails codebase to show us exactly how StringInquirer works…
Ruby / Rails Inside
https://blog.engineyard.com/the-ruby-unbundled-series-why-you-should-check-out-hotwire-now
EngineYard
The Ruby Unbundled Series: Why You Should Check Out Hotwire Now
Hotwire truly is a game changer for Ruby on Rails web application development. Here's why.
Ruby / Rails Inside
https://tosbourn.com/ruby-on-rails-seo/
Tosbourn – Belfast based Ruby developers
SEO for Ruby on Rails projects
How to do technical SEO with your Ruby on Rails application
Ruby / Rails Inside
https://www.mikeperham.com/2021/04/20/a-tour-of-the-sidekiq-api/
Mike Perham
A Tour of the Sidekiq API
Sidekiq provides an underappreciated but powerful tool for all users: the Sidekiq API. The API gives comprehensive and idiomatic access to Sidekiq’s underlying real-time job and queue data within Redis.
The Glossary To explore the API, first it helps to understand…
Ruby / Rails Inside
https://blog.saeloun.com/2021/04/20/rails-add-in-order-of-method-in-enumerable.html
Saeloun Blog
Rails 7 adds `Enumerable#in_order_of` to put an enumerable in a certain order by a key.
With the addition of the `in_order_of` method, we can order enumerable based on the provided series.
Ruby / Rails Inside
https://bigbinary.com/blog/ruby-3-1-accumulates-enumerable-tally-results
Ruby / Rails Inside
https://longliveruby.com/articles/ruby-csv-common-issues
Ruby / Rails Inside
https://blog.saeloun.com/2021/04/21/rails-7-invert-where-method.html
Saeloun Blog
Rails 7 adds invert_where method to ActiveRecord
Rails 7 adds invert_where method that will invert all scope conditions.
Ruby / Rails Inside
https://www.ombulabs.com/blog/rails/hotwire/hotwire-demo.html
Building with Hotwire
Building With Hotwire - The Lean Software Boutique
Previously, I outlined the new hotness that is Hotwire. New features are nice, but what can you build with it? Let’s build a little project, and le...