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://www.honeybadger.io/blog/hb-turbolinks-to-turbo/
Honeybadger Developer Blog
Migrating From Turbolinks To Turbo
Turbolinks is no longer being developed. It's been superceeded by Turbo, which is part of Hotwire. In this article, Julio Sampaio shows us how to port our existing Turbolinks apps to Turbo.
Ruby / Rails Inside
https://www.bootrails.com/blog/rails-authentication-with-rodauth-an-elegant-gem/
Ruby / Rails Inside
https://blog.saeloun.com/2022/01/11/ruby-3.1-adds-class-subclasses.html
Saeloun Blog
Ruby 3.1 adds Class#subclasses
Ruby 3.1's new method Class#subclasses returns all classes directly from the receiver without adding singleton classes.
Ruby / Rails Inside
https://www.godaddy.com/engineering/2022/01/10/running-puma-in-aws/
GoDaddy Engineering Blog
Running Puma in AWS — GoDaddy Engineering Blog
In the past couple of years, we have been on our journey to the cloud migrating our web services to AWS. In this blog post, we share what we learned about deploying Puma web server to AWS by migrating our email delivery service written in Ruby to AWS.
Ruby / Rails Inside
https://blog.kiprosh.com/side-effects-of-activerecords-new-feature-invert_where-in-rails-7/
Kiprosh Blogs
Side effects of Active Record's #invert_where in Rails 7
The potential side effect of using the new Rails 7 method `invert_where` that inverts all scope conditions.
Ruby / Rails Inside
https://jbhannah.net/articles/rails-7-using-invert-where-safely
jbhannah.net
Using Rails 7.0's #invert_where Safely
Rails 7.0 introduces the
method on ActiveRecord
query chains, and at a glance this looks like a more elegant solution to the
problem I’ve…
Ruby / Rails Inside
https://aws.amazon.com/ru/blogs/developer/developer-preview-smithy-code-generated-ruby-sdk/
Amazon
Developer Preview: Ruby SDK code generation using Smithy | Amazon Web Services
What is this? The AWS SDK For Ruby team is happy to announce the developer preview of smithy-ruby, a toolchain that can be used to code generate a “white label” Ruby SDK for your service API using Smithy modeling. An upcoming future version of the AWS SDK…
Ruby / Rails Inside
https://blog.kiprosh.com/rails-7-adds-new-options-to-upsert_all/
Kiprosh Blogs
Rails 7 adds new options to upsert_all
upsert_all method provides a faster way to update and insert a large number of records. Let's learn about upsert-all enhancements in Rails7.
Ruby / Rails Inside
https://hanamirb.org/blog/2022/01/12/announcing-hanami-200alpha5/
Hanami
Announcing Hanami v2.0.0.alpha5
Sensible default logger, full source dirs config, router loading flexibility, route helpers in views
Ruby / Rails Inside
https://notepad.onghu.com/2021/jruby-using-apache-poi-to-generate-xlsx-files/
Onghu
JRuby on Windows: Day 3 - Using Apache POI (Java) to create XLSX files
One of the great advantages of using JRuby is the ability to connect with Java libraries (JARs) and call Java code from your Ruby scripts. This post shows how to use Apache POI (the Java API for Microsoft Documents) to generate a simple XLSX file.
Ruby / Rails Inside
https://nts.strzibny.name/single-attribute-in-place-editing-turbo/
Notes to self
Single attribute in-place editing with Rails and Turbo
Turbo can largely simplify our front-end needs to achieve a single-page application feel. If you have ever wondered how to do a single attribute in-place update with Turbo, this post is for you.
Ruby / Rails Inside
https://blog.saeloun.com/2022/01/12/rails-7-adds-custom-enum-support-in-postgresql.html
Saeloun Blog
Rails 7 adds better support for custom enum types in PostgreSQL
With Rails 7, use create_enum to add a new enum type and t.enum to add a column.
Ruby / Rails Inside
https://blog.engineyard.com/thats-not-a-memory-leak-its-bloat
EngineYard
That's Not a Memory Leak, It's Bloat
Ruby / Rails Inside
https://ieftimov.com/post/creating-testing-grpc-server-interceptors-ruby/
Ieftimov
Creating and testing gRPC server interceptors in Ruby
If your experience is rooted in HTTP-land, then you are probably familiar with the concept of server middleware. Interceptors are analogous, but in gRPC land. When first building gRPC interceptors, I had trouble figuring out how to do it in Ruby. gRPC is…
Ruby / Rails Inside
https://thoughtbot.com/blog/ruby-splat-operator
thoughtbot
Ruby splat operator
🌟
The Ruby splat operator is confusing and here is why…
Ruby / Rails Inside
https://www.bootrails.com/blog/vitejs-rails-a-wonderful-combination/
Ruby / Rails Inside
https://nts.strzibny.name/rails-system-tests-page-objects/
Notes to self
Maintainable Rails system tests with page objects
Rails system tests often depend on input and CSS selectors. To make our tests more maintainable, we can isolate layout changes within page objects.
Ruby / Rails Inside
https://www.youtube.com/watch?v=JBu-9grvxww
YouTube
TenderJIT Hacking: Ruby Callframes
Going to do some hacking on TenderJIT this week, but we'll focus on how method calls work and how stackframes are implemented. Then we'll try to implement calling a method that is given a *args
TenderJIT: https://github.com/tenderlove/tenderjit
Ruby / Rails Inside
https://www.rubberduckdevshow.com/episodes/25-javascript-options-in-rails-7/
Rubberduckdevshow
Rubber Duck Dev Show Episode 25 | JavaScript Options in Rails 7
In this episode, we discuss the different JavaScript options available in the newly released Rails 7.
Ruby / Rails Inside
https://boringrails.com/tips/rails-check-constraints-database-validations
Boring Rails: Skip the bullshit and ship fast
Rails validations: database level check constraints
One of the most common Rails tips is to back up your ActiveRecord model validations with database level constraints.