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://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
Ruby / Rails Inside
https://blog.arkency.com/less-known-capability-of-rubys-json-dot-parse/
Arkency Blog
A lesser known capability of Ruby's JSON.parse
A lesser known capability of Ruby’s JSON.parse If you ever got annoyed by the fact that JSON.parse returns hash with string keys and prefer hashes with symbols as keys, this post is for you.
Ruby / Rails Inside
https://github.com/evilmartians/fullstaq-ruby-docker
GitHub
GitHub - evilmartians/fullstaq-ruby-docker: Docker image for Ruby build from Fullstaq packages based on Debian 10, 11, and 12.
Docker image for Ruby build from Fullstaq packages based on Debian 10, 11, and 12. - evilmartians/fullstaq-ruby-docker
Ruby / Rails Inside
https://www.howtoruby.com/how-to-create-seamless-modals-with-turbo-drive/
Howtoruby
How to create seamless modal forms with Turbo Drive |
how to ruby
Discover useful how-tos with Ruby
Ruby / Rails Inside
https://bhserna.com/joins-does-not-preload.html
Bhserna
Joins does not preload
When you are working with SQL, to use information from other tables you would
use a JOIN…
And if you are just starting to learn ActiveRecord comming from SQL, you could
think that by using the joins method you will be able to later use the data
from...
Ruby / Rails Inside
https://blog.saeloun.com/2021/10/26/rails-7-add-from-to-assert_no_changes.html
Saeloun Blog
Rails 7: Add from: option to ActiveSupport::TestCase#assert_no_changes
ActiveSupport::TestCase#assert_no_changes adds additional options.
Ruby / Rails Inside
https://www.bigbinary.com/blog/rails-7-adds-disable-joins-for-associations
BigBinary
Rails 7 adds disable_joins for associations
Rails 7 series | Ruby 7.0 adds disable_joins for associations