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://petr.codes/blog/rails/fun-with-enums-and-poro/
Petr Hlavicka
Fun with Rails Enums and PORO
I really like enums. They can be really powerful if they are used wisely. Let’s see what we can do with them in a multilingual Rails app with a little help from PORO (Plain Old Ruby Object).
Ruby / Rails Inside
https://blog.saeloun.com/2021/10/06/rails-7-add-ssl-support-postgresql-dbconsole
Saeloun Blog
Rails 7 adds SSL support for postgresql in bin/rails dbconsole
Rails 7 added PGSSLMODE, PGSSLCERT, PGSSLKEY, and PGSSLROOTCERT to DBConsole class to load SSL-related environment variables from database config when running bin/rails dbconsole with postgresql.
Ruby / Rails Inside
https://www.bigbinary.com/blog/rails-7-adds-comparison-validator-to-active-record
BigBinary
Rails 7 adds ComparisonValidator to ActiveRecord
Rails 7 series | Ruby 7.0 adds ComparisonValidator to ActiveRecord
Ruby / Rails Inside
https://blog.ohmysmtp.com/blog/verify-paddle-webhooks-in-ruby/
Ohmysmtp
How to Verify Paddle.com Webhooks / Alerts in Ruby on Rails
A short guide to verifying payment provider Paddle.com webhooks and alerts in Ruby on Rails
Ruby / Rails Inside
https://pawelurbanek.com/rails-dynamic-config
Rails, PostgreSQL Performance Audit and Tuning Consultant for Hire
Using Dynamic Config Variables in Ruby on Rails Apps
Config variables should never be embedded directly in the codebase. It is a common practice to extract them into a separate configuration layer. A standard approach for Ruby on Rails apps is to use static ENV variables that can only be changed via a release…
Ruby / Rails Inside
https://www.bigbinary.com/blog/reducing-memory-bloat-in-a-ruby-on-rails-application
BigBinary
Reducing memory bloat of a Ruby on Rails application
Ruby / Rails Inside
https://nts.strzibny.name/business-logic-in-rails-with-contexts/
Notes to self
Organizing business logic in Rails with contexts
Rails programmers have almost always tried to figure out the golden approach to business logic in their applications. From getting better at object-oriented design, to service objects, all the way to entirely new ideas like Trailblazer or leaving Active Record…
Ruby / Rails Inside
https://www.bigbinary.com/blog/rails-7-adds-setting-for-enumerating-columns-in-select-statements
BigBinary
Rails 7 adds setting for enumerating columns in select statements
Rails 7 series | Ruby 7.0 adds setting for enumerating columns in select statements
Ruby / Rails Inside
https://noteflakes.com/articles/2021-10-14-embracing-infinite-loops
Ruby / Rails Inside
https://www.ruby2js.com/
Ruby / Rails Inside
https://www.honeybadger.io/blog/aws-dynamo-db-rails/
Honeybadger Developer Blog
Using DynamoDB in Your Rails App
DynamoDB is a NoSQL database offered by AWS. It can be a great way to avoid adding load to your primary database when you need tens of thousands of reads/writes per second. In this article, Julie Kent walks us through the basics of using DynamoDB with Rails.
Ruby / Rails Inside
https://www.youtube.com/watch?v=jwnRxNEq8f4
YouTube
RubyMine: Get started with RBS
In this video, you'll learn how to add RBS to your project and get an overview of the main RBS features that RubyMine offers.
0:16 - Install RBS
1:02 - Create a new RBS file
1:20 - Generate an RBS prototype
1:47 - Examine the high-level structure of your…
Ruby / Rails Inside
https://weblog.rubyonrails.org/2021/10/15/this-week-in-rails-auto-timestamps-on-bulk-inserts-html-safe-translations-in-controllers-and-more/
Ruby on Rails
Auto timestamps on bulk inserts, HTML safe translations in controllers and more
Hey, Wojtek here with last week updates from the Ruby on Rails world.
Ruby / Rails Inside
https://shopify.engineering/yjit-just-in-time-compiler-cruby
Shopify
YJIT: Building a New JIT Compiler for CRuby - Shopify
A team of skilled engineers from Shopify and GitHub on YJIT, a new Just-in-time (JIT) compiler built inside CRuby.
Ruby / Rails Inside
https://www.rubberduckdevshow.com/episodes/15-when-to-use-uuids/
Rubberduckdevshow
Rubber Duck Dev Show Episode 15 | When To Use UUIDs
In this episode, we discuss when to use UUIDs (and when not to).
Ruby / Rails Inside
https://petr.codes/blog/rails/business-logic-with-operators/
Petr Hlavicka
Business logic in Rails with operators
Having a thousand lines long controllers and/or models is not the right way to have sustainable applications or developers’ sanity. Let’s look at my solution for business logic in the Rails app.
Ruby / Rails Inside
https://blog.appsignal.com/2021/10/20/optimistic-locking-in-rails-rest-apis.html
Appsignal
Optimistic Locking in Rails REST APIs | AppSignal Blog
Implement optimistic locking in Rails APIs to avoid potentially critical issues.
Ruby / Rails Inside
https://blog.arkency.com/could-we-drop-symbols-from-ruby/
Arkency Blog
Could we drop Symbols from Ruby?
Could we drop Symbols from Ruby? Don’t know about you, but I personally have been hit a least a dozen times by bugs caused by strings vs symbols distinction. That happened in my own code, and it happened when using some other libraries as well. I like how…
Ruby / Rails Inside
https://www.intermediateruby.com/how-to-audit-and-improve-your-ruby-rails-test-suite
Intermediateruby
Lessons Learned from Three Rails Test Audits: How To Audit and Improve the Performance of Your RoR test Suite
I got paid by three different companies (startup, startup, and established org) to audit several different Rails test suites. Here's what I've learned
Ruby / Rails Inside
https://tejasbubane.github.io/posts/2021-10-23-complete-testing-sidekiq/
tejasbubane.github.io
Tejas' Blog - Complete testing of sidekiq jobs
Thoughts and learnings on writing better software