Ruby / Rails Inside
@rubyinside
732
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
732 subscribers
Ruby / Rails Inside
https://shopify.engineering/improving-the-developer-experience-with-ruby-lsp
Shopify
Improving the Developer Experience with the Ruby LSP - Shopify
The Ruby LSP is a new language server built at Shopify that makes coding in Ruby even better by providing extra Ruby features for any editor that has a client layer for the LSP. In this article, we’ll cover how we built the Ruby LSP, the features included…
Ruby / Rails Inside
https://www.akshaykhot.com/using-hotwire-without-rails/
Ruby / Rails Inside
https://www.youtube.com/watch?v=LL1cV2FXZ5I
Ruby / Rails Inside
https://blog.saeloun.com/2023/02/27/rails-introduces-default-health-check-controller
Saeloun Blog
Rails 7 Introduces Default Health Check Controller
Rails 7 now introduces a default health check endpoint for health checks.
Ruby / Rails Inside
https://rosenfeld.page/articles/2023_03_01_lightblog_a_file_based_blog_app
Ruby / Rails Inside
https://blog.appsignal.com/2023/03/01/making-the-most-of-your-logs-in-rails.html
Appsignal
Making the Most of Your Logs in Rails | AppSignal Blog
It's easy to get going with logging with Rails, but not so easy to master it. Discover how you can get the most from your logs.
Ruby / Rails Inside
https://www.youtube.com/watch?v=9tOMD491mFY
YouTube
"Asynchronous Rails" - Samuel Williams (RubyConf AU 2023)
(Samuel Williams) The fiber scheduler presents new opportunities for building scalable and concurrent Ruby programs. However, Rails has traditionally been a request-per-process or request-per-thread framework. We will give a brief introduction to the fiber…
Ruby / Rails Inside
https://github.com/pawurb/rails-pg-extras#measure_queries
GitHub
GitHub - pawurb/rails-pg-extras: Rails PostgreSQL database performance insights. Locks, index usage, buffer cache hit ratios, vacuum…
Rails PostgreSQL database performance insights. Locks, index usage, buffer cache hit ratios, vacuum stats and more. - pawurb/rails-pg-extras
Ruby / Rails Inside
https://world.hey.com/this.week.in.rails/first-edition-of-march-f7c5100f
Hey
🎎
First edition of March
Hi, it’s zzak. Let’s explore this week’s changes in the Rails codebase. Turbo v7.3.0 is out! Be sure to check the release notes to see what changed. Configurable digest algorithm for Active Record Encryption This adds a new option to configure the digest…
Ruby / Rails Inside
https://planetscale.com/blog/how-to-kill-sidekiq-jobs-in-ruby-on-rails
Planetscale
How to kill Sidekiq jobs in Ruby on Rails — PlanetScale
Learn how PlanetScale uses a custom middleware to kill our Sidekiq jobs in production without relying on deploys.
Ruby / Rails Inside
https://www.driftingruby.com/episodes/deploying-with-mrsk
Drifting Ruby
Episode 391 - Deploying with MRSK | Drifting Ruby
Kamal (MRSK) deploys web apps anywhere from bare metal to cloud VMs using Docker with zero downtime. In this episode, we will set up a Digital Ocean infrastructure with a Load Balancer, Virtual Machines, and a PostgreSQL database. We'll use Kamal (MRSK) to…
Ruby / Rails Inside
https://andycroll.com/ruby/assign-a-default-to-an-attribute-active-record/
Andy Croll
Assign a default value to an attribute in Active Record
You’ve probably been using callbacks. Don’t.
Ruby / Rails Inside
https://www.youtube.com/watch?v=0VjRaPxHfm4
YouTube
Apparently GPT4 understand AWS Cognito and the Sinatra Ruby web framework very well
Quick experiment asking GPT4 to write all the authentication glue code between Sinatra and AWS Cognito. Haven't tried the code yet and a few issues popped out immediately, but at first glance it seems like it could save a huge amount of time.
Ruby / Rails Inside
https://world.hey.com/this.week.in.rails/testfixtures-fixture_path-deprecation-findermethods-find-support-for-composite-primary-key-values-87e6e69a
Hey
TestFixtures#fixture_path deprecation, FinderMethods#find support f...
Kaixo! Long time no see. Emmanuel Hayford here. This week, a lot happened in Rails, so much so that to keep this edition short, I've had to cut some equally goodpull requests out. Here's what I have for you today: Allow querying by the whole record for composite…
Ruby / Rails Inside
https://evilmartians.com/chronicles/anycable-goes-off-rails-connecting-twilio-streams-with-hanami
evilmartians.com
AnyCable off Rails: connecting Twilio streams with Hanami—Martian Chronicles, Evil Martians’ team blog
How to use AnyCable-Go as a library to control any WebSocket client from Ruby by example: analyzing Twilio Media streams with Hanami.
Ruby / Rails Inside
https://planetscale.com/blog/zero-downtime-rails-migrations-planetscale-rails-gem
Planetscale
Zero downtime Rails migrations with the PlanetScale Rails gem — PlanetScale
Learn about the Ruby on Rails workflow that protects your database and application from accidental downtime and data loss.
Ruby / Rails Inside
https://www.akshaykhot.com/understanding-rails-attribute-assignment/
Akshay's Blog
Understanding the Attribute Assignment API in Rails
In this post, we will explore the `AttributeAssignment` module in Rails, which allows you to set an object's attributes by passing in a hash, a feature commonly used by Active Record models. We'll also learn a little metaprogramming along the way.
Ruby / Rails Inside
https://world.hey.com/this.week.in.rails/composite-primary-keys-improvements-and-more-5fead159
Hey
Composite primary keys improvements and more
Hi, it’s Wojtek with this week’s changes in the Rails codebase. Allow specifying WHERE clauses with column-tuple syntax. Querying through Active Record where now accepts a tuple syntax which accepts, as a key, an array of columns and, as a value, an array…
Ruby / Rails Inside
https://evilmartians.com/chronicles/rubocoping-with-legacy-bring-your-ruby-code-up-to-standard
evilmartians.com
RuboCoping with legacy: Bring your Ruby code up to Standard—Martian Chronicles, Evil Martians’ team blog
How we introduce code style to mature Ruby/Rails projects with RuboCop and Standard.
Ruby / Rails Inside
https://fly.io/ruby-dispatch/pairing-with-gpt-4/
Fly
Pairing with GPT-4
GPT-4 won't build your application for you, but it can be a very helpful addition to your toolbox.
Ruby / Rails Inside
https://world.hey.com/this.week.in.rails/march-31st-2023-edition-813dd9b9
Hey
March 31st 2023 edition
🌸
Hi, it’s zzak, writing in from Aomori, Japan, home of the great Jonan Scheffler. 2023 is officially 25% over, time to enjoy
🌸
and explore this week’s changes in the Rails codebase. Add debug gem back to the Gemfile template With the release of Ruby v3.2.2…