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://www.twilio.com/blog/5-ways-make-http-requests-ruby
Twilio Blog
5 ways to make HTTP requests in Ruby
There are numerous ways to perform HTTP requests in Ruby. Let's dive in 5 of these solutions and compare each other.
Ruby / Rails Inside
https://www.youtube.com/watch?v=vw7PlBvLq9k
YouTube
Rails Best Practices I
Today I share some of my favorite practices applicable to Ruby on Rails (and to web development on small teams generally)
Ruby / Rails Inside
https://upgrow.shopify.io/
Ruby / Rails Inside
https://www.johnnunemaker.com/resilience-in-ruby-shell-commands/
John Nunemaker
Resilience in Ruby: Shell Commands
Over the past year I've made myself real friendly with GitHub::Result and I'm loving it. This post is a big intro on how to make your Ruby code more resilient with GitHub::Result leading the way.
Ruby / Rails Inside
https://everydayrails.com/2021/03/07/docker-devcontainer-series-database-sqlite.html
Everydayrails
Using containers as a Rails development environment, part 3: SQLite databases |
Everyday Rails
You can't get very far with a Rails application without a database. Let's explore our options for adding one in a container.
Ruby / Rails Inside
https://andycroll.com/ruby/turn-off-the-bits-of-rails-you-dont-use/
Andy Croll
Turn off the bits of Rails you don't use
Reduce complexity, reduce overhead
Ruby / Rails Inside
https://www.honeybadger.io/blog/ruby-logger-lograge/
Honeybadger Developer Blog
Logging in Ruby with Logger and Lograge
Logging is tricky. You want logs to include enough detail to be useful, but not so much that you're drowning in noise - or violating regulations like GDPR. In this article, Diogo Souza introduces us to Ruby's logging ...
Ruby / Rails Inside
https://boringrails.com/tips/activerecord-validation-context
Boring Rails: Skip the bullshit and ship fast
Run different ActiveRecord validations based on context
Sometimes want to skip certain validations on your database models. Maybe you have a multi-step wizard or want admins to have more freedom in changing data.
Ruby / Rails Inside
https://blog.saeloun.com/2021/03/08/rails-6-1-adds-excluding-to-active-record-relation.html
Saeloun Blog
Rails 7 adds #excluding to ActiveRecord::Relation
Rails 7 adds #excluding to ActiveRecord::Relation to exclude a record or collection of records.
Ruby / Rails Inside
https://arstechnica.com/gadgets/2021/03/rookie-coding-mistake-prior-to-gab-hack-came-from-sites-cto/
Ars Technica
Rookie coding mistake prior to Gab hack came from site’s CTO
Site executive introduces, then removes, insecure code, then hides the evidence.
Ruby / Rails Inside
https://blog.arkency.com/recording-real-requests-with-webmock/
Arkency Blog
Recording real requests with WebMock
Hi, we're Arkency and it's our blog with meaty content.
Ruby / Rails Inside
https://bigbinary.com/blog/rails-6-1-adds-nulls-first-and-nulls-last-to-arel
BigBinary
Rails 6.1 adds nulls_first and nulls_last methods to Arel for PostgreSQL
Rails 6.1 series | Rails 6.1 adds nulls_first and nulls_last methods to Arel for PostgreSQL
Ruby / Rails Inside
https://blog.jetbrains.com/ruby/2021/03/rubymine-2021-1-beta-1/
JetBrains Blog
RubyMine 2021.1 Goes Beta! | The RubyMine Blog
RubyMine 2021.1 reaches Beta! This build introduces new features for Ruby 3 and tests:
RBS support and better code completion
Run multiple tests in a run configuration
Important! RubyMine EAP bu
Ruby / Rails Inside
https://www.botreetechnologies.com/blog/rotate-log-files-in-rails-application-with-logrotate-in-ubuntu/
Ruby / Rails Inside
https://format-express.dev/blog/ruby-tokenization-with-flex
format-express.dev
Tokenization with Flex and Ruby - Format Express Blog
Ruby / Rails Inside
https://dev.to/doctolib/learn-about-ractors-and-build-a-mini-sidekiq-3ba2
DEV Community
Learn about Ractors and build a mini sidekiq
In this article, you'll learn more about Ractor, and how you can use them to build your own clone of...
Ruby / Rails Inside
https://jemma.dev/blog/gc-generational
Jemma Issroff
Ruby Garbage Collection Deep Dive: Generational Garbage Collection
This is the third post in the Ruby GC Deep Dive series. It’ll make most sense if you check out the previous two first:
Ruby / Rails Inside
https://blog.kiprosh.com/active-record-attribute-encryption/
Ruby / Rails Inside
https://boringrails.com/tips/boring-breadcrumbs-rails
Boring Rails: Skip the bullshit and ship fast
Boring breadcrumbs for Rails
Breadcrumbs are a common UI pattern in most software applications. Rails has no built-in tools specifically for breadcrumbs, and while there are a handful of existing gems, I think this is something you can easily implement in your own app with just a few…
Ruby / Rails Inside
https://dev.to/appland/how-to-install-and-configure-appmap-for-ruby-in-vscode-2c0b
DEV Community
Video: Visualize the architecture of your Ruby app, in VS Code, in 2 ¹/₂ minutes
Here’s a video showing how to install, configure and use AppMap for VSCode with Ruby. Start to fini...