Ruby / Rails Inside
@rubyinside
734
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
734 subscribers
Ruby / Rails Inside
https://blog.arkency.com/difference-between-cache-and-read-model-an-example/
Arkency Blog
The Difference Between a Cache and a Read Model, an example
Hi, we're Arkency and it's our blog with meaty content.
Ruby / Rails Inside
https://www.ruby-lang.org/en/news/2021/11/24/ruby-3-0-3-released/
www.ruby-lang.org
Ruby 3.0.3 Released
Ruby / Rails Inside
https://blog.saeloun.com/2021/11/24/ruby-adds-matchdata-match-and-match-length
Saeloun Blog
Ruby 3.1 adds MatchData#match and MatchData#match_length
Ruby 3.1 MatchData#match returns the substring corresponding to the argument, while MatchData#match_length returns the length of the captured substring.
Ruby / Rails Inside
https://www.antonivanopoulos.com/til-queuing-sidekiq-workers-safely-with-the-help-of-isolator
Antonivanopoulos
TIL: Queuing Sidekiq workers safely with the help of Isolator
I recently managed a migration from DelayedJob to Sidekiq and learned about a couple of Ruby gems that helped identify several potential issues with how we currently queued background jobs.
Ruby / Rails Inside
https://hybrd.co/posts/audit-logging-in-rails
HYBRD
Audit Logging in Rails
Need to add audit logging to your Rails application? In this post, I review five popular Ruby gems you can use, walk through rolling your own solution, and share some recommendations about what solution to choose.
Ruby / Rails Inside
https://www.ruby3.dev/object-orientation/2021/03/23/better-oop-through-lazily-instantiated-memoized-dependencies/
Fullstack Ruby
Better OOP Through Lazily-Instantiated Memoized Dependencies
There are various schools of thought around how best to define dependencies in your object graph. Let’s learn about the one I prefer to use the majority of the time. It takes advantage of three techniques Ruby provides for us: variable-like method calls,…
Ruby / Rails Inside
https://gorails.com/episodes/refactoring-javascript-with-stimulus-values-api-defaults
Gorails
Refactoring Javascript with Stimulus Values API & Defaults | GoRails
Refactoring a Javascript countdown timer into a reusable Stimulus controller gives a look at the flexibility we can achieve by taking advantage of the Stimulus Values API and customizing the default values.
Ruby / Rails Inside
https://www.honeybadger.io/blog/rails-kubernetes-cluster-2/
Honeybadger Developer Blog
Running Rails on a Kubernetes Cluster: Part 2
Kubernetes is a popular way to deploy web services and applications using containers. In this, the second of a two-part series, Geshan finishes his step-by-step tutorial for getting up and running with Rails and k8s.
Ruby / Rails Inside
https://hanamimastery.com/episodes/11-effective-ruby-programming-with-dry-effects
Hanami Mastery - a knowledge base to hanami framework
Effective programming in ruby
2 real-world examples of using algebraic effects in Hanami ruby applications with dry-effects.
Ruby / Rails Inside
https://www.bigbinary.com/blog/fix-slow-page-loads-in-a-ruby-on-rails-application
BigBinary
Fix slow page loads in a Ruby on Rails application by identifying n+1 queries
Ruby / Rails Inside
https://www.fullstackruby.dev/fullstack-development/frontend-development/2021/11/30/rise-of-fullstack-ruby/
Fullstack Ruby
The Rise of Fullstack Ruby & the Next Frontier of the Web
Today, right now, right this very minute, is the absolute best time to be a fullstack Ruby/web developer! And tomorrow will be even better.
Ruby / Rails Inside
https://avdi.codes/throw-catch-raise-rescue-im-so-confused/
avdi.codes
Throw, Catch, Raise, Rescue - I'm So Confused!
One of the aspects of Ruby that often confuses newbies coming from other languages is the fact that it has both throw and catch and rai
Ruby / Rails Inside
https://blog.saeloun.com/2021/12/01/rails-7-default-values-for-i18n-translate.html
Saeloun Blog
Rails 7: Pass default values to I18n's `translate` method
Provide fallback values to the translate method apart from those parts of the translation string.
Ruby / Rails Inside
https://blog.appsignal.com/2021/12/01/ruby-on-rails-application-monitoring-with-appsignal.html
AppSignal Blog
Ruby on Rails Application Monitoring with AppSignal | AppSignal Blog
In the first of this two-part series, we'll set up monitoring for a Ruby on Rails application with AppSignal.
Ruby / Rails Inside
https://www.monterail.com/blog/introduction-to-rails-event-store
Monterail
Introduction to Rails Event Store
Rails Event store is a storage of events. Optimize operations to be as fast as possible. We can only read the history of events and add new events.
Ruby / Rails Inside
https://www.ginkonote.com/users/flo/articles/how-to-get-the-most-out-of-the-json-api-serializer-gem@rails
Ginkonote
How to get the most out of the json-api serializer gem | Rails by Flo | GinkoNote
"json-api serializer" gem is the most powerful to serialize Rails models. However, to avoid the common pitfalls, you need to customize it and add some helper methods. Source...
Ruby / Rails Inside
https://coolrequest.dev/2021/11/03/docker_image_rails_part1.html
Ruby / Rails Inside
https://blog.kiprosh.com/rails-7-introduces-partial-inserts-config-for-activerecord/
Kiprosh Blogs
Rails 7 introduces partial_inserts config for ActiveRecord
Rails 7 adds the partial_inserts config used to control partial writes when creating a new record. Let's learn how to configure and use it.
Ruby / Rails Inside
https://noteflakes.com/articles/2021-12-03-qeweney
Ruby / Rails Inside
https://weblog.rubyonrails.org/2021/12/6/Rails-7-0-rc-1-released/
Ruby on Rails
Rails 7.0 RC1: New JavaScript Answers, At-Work Encryption, Query Origin Logging, Zeitwerk Exclusively
We’re almost ready to declare Rails 7 done! The feedback since the first alpha release has been wonderful, we’ve eliminated a slew of issues, and we’ve seen Basecamp, HEY, GitHub, and Shopify all run in production on this alpha series. So we now feel so confident…