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://orbit.love/blog/introducing-notion-ruby-client-open-source-ruby-client-notion-api
orbit.love
notion-ruby-client: an Open-Source Ruby Client for the Notion API - Orbit
notion-ruby-client is an Open Source gem that abstracts away the Notion API intricacies so that you can focus on building your own integration.
Ruby / Rails Inside
https://www.ruby-lang.org/en/news/2022/04/12/ruby-3-1-2-released/
www.ruby-lang.org
Ruby 3.1.2 Released
Ruby / Rails Inside
https://evilmartians.com/chronicles/a-slice-of-life-table-partitioning-in-postgresql-databases
evilmartians.com
A slice of life: table partitioning in PostgreSQL databases—Martian Chronicles, Evil Martians’ team blog
In this article, Ruby on Rails developers (and backend engineers in general) can learn to implement table partitioning in PostgreSQL databases and explore common problems and pitfalls.
Ruby / Rails Inside
https://blog.saeloun.com/2022/04/12/ruby-variable-width-allocation.rb.html
Saeloun Blog
How does Ruby manage memory?
Each programming language has its version of memory management so, let us look into how Ruby does this under the hood.
Ruby / Rails Inside
https://github.blog/2022-04-11-performance-at-github-deferring-stats-with-rack-after_reply/
The GitHub Blog
Performance at GitHub: deferring stats with rack.after_reply
How we sped up GitHub.com by moving slow, non-critical code into rack.after_reply.
Ruby / Rails Inside
https://avohq.io/blog/auto-reload-rails-initializers-and-other-files-in-development
avohq.io
Auto re-load Rails initializers (and other files) in development
This auto-reloading technique makes the development experience so much better!
Ruby / Rails Inside
https://thoughtbot.com/blog/custom-ranges-in-ruby
thoughtbot
Custom Ranges in Ruby
How can we create ranges out of custom objects?
Ruby / Rails Inside
https://shopify.engineering/code-ranges-ruby-strings
Shopify
Code Ranges: A Deeper Look at Ruby Strings
An informal look at what makes encoding-aware strings in Ruby functional and performant, providing insight into all the wonderful things the Ruby VM does.
Ruby / Rails Inside
https://www.andywaite.com/2022/04/15/reusable-github-actions-rails-workflow.html
Ruby / Rails Inside
https://blog.kiprosh.com/advanced-features-provided-by-new-debug-gem/
Kiprosh Blogs
Advanced features provided by the new debug gem in Ruby
Decoding features like record & replay debugging, postmortem debugging, and VSCode integrations are provided by the new debug gem.
Ruby / Rails Inside
https://blog.saeloun.com/2022/04/19/ruby-variable-width-allocation-part-2.html
Saeloun Blog
Ruby 3.1 introduces Variable Width Allocation for Strings
In this blog let us understand how Variable Width Allocation works in Ruby
Ruby / Rails Inside
https://www.fullstackruby.dev/object-orientation/2022/04/17/transform-your-data-with-oop-formatter-pattern/
Fullstack Ruby
Transform Your Data Object-Oriented Style with Formatters
I truly adore this design pattern. Once you know it, you start to see its usefulness across a wide variety of scenarios, codebases, and even programming languages.
Ruby / Rails Inside
https://blog.saeloun.com/2022/04/20/rails-7-lazy-loads-schema-cache.html
Saeloun Blog
Rails 7 now lazy loads schema cache
Use a config option to now switch between eager and lazy schema cache loading.
Ruby / Rails Inside
https://www.morozov.is/2018/05/27/do-notation-ruby.html
Ruby / Rails Inside
https://kddnewton.com/2022/04/25/ruby-syntax-tree-github-io.html
Ruby / Rails Inside
https://bhserna.com/preload-counts-active-record.html
Bhserna
How to preload counts in a list with ActiveRecord
Imagine that you need to put the number of likes for each post in a list, but avoiding n+1 queries.
posts.each do |post|
post.likes.count # n+1 queries
end
One way to avoid n+1 queries here, is to preload the association and the count the records...
Ruby / Rails Inside
https://hanamimastery.com/episodes/20-dry-validation
Hanami Mastery - a knowledge base to hanami framework
dry-validation - The one gem to validate them all!
Validating data input is an extremely important problem to tackle in all applications. In Ruby ecosystem there is no better tool for that than dry-validation. Here is why!
Ruby / Rails Inside
https://rubyonrails.org/2022/4/26/Rails-7-0-2-4-6-1-5-1-6-0-4-8-and-5-2-7-1-have-been-released
Ruby on Rails
Rails 7.0.2.4, 6.1.5.1, 6.0.4.8, and 5.2.7.1 have been released!
Hi everyone!!!! This is an announcement to let you know that Rails 7.0.2.4, 6.1.5.1, 6.0.4.8, and 5.2.7.1 have been released!
Ruby / Rails Inside
https://www.morozov.is/2022/04/26/service-objects-part-2.html
Igor writing about things
Unfinished: Designing helpful service objects. Part 2. Practice
This is a partially-written post, which will never be complete I've been writing this article on-and-off since June 2020. I didn't like how it turned out and re-wrote it numerous times. It tries to cover way too many things at once, and that's the problem…
Ruby / Rails Inside
https://davidmles.medium.com/the-most-useful-visual-studio-code-extensions-i-use-for-ruby-development-637501115248
Medium
The most useful Visual Studio Code extensions I use for Ruby development
I use Visual Studio Code daily for web development with Ruby on Rails. By default, it is a great editor with handy tools. But its great…