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://world.hey.com/this.week.in.rails/erb-in-yaml-keys-performance-boosts-a-new-option-for-querylogs-2b63a564
Hey
ERB in YAML keys, performance boosts, a new option for QueryLogs!
こんにちは。I'm Emmanuel, and I've got some updates for you! Avoid double type cast when serialising attributes ActiveModel::Attribute#value already casts model attributes when persisting models, however some model attribute types try to cast a given value before…
Ruby / Rails Inside
https://github.com/learnbyexample/Command-line-text-processing/blob/master/ruby_one_liners.md
GitHub
Command-line-text-processing/ruby_one_liners.md at master · learnbyexample/Command-line-text-processing
:zap: From finding text to search and replace, from sorting to beautifying text and more :art: - learnbyexample/Command-line-text-processing
Ruby / Rails Inside
https://world.hey.com/lewis/run-multiple-rails-apps-with-puma-dev-67b1c10f
Hey
Run multiple Rails apps with Puma-dev
Before joining 37signals I hadn't encountered Puma-dev. This post is a message to past-me who would have benefited from using it to develop a constellation of Ruby on Rails applications. A pretty typical setup for an organisation with a Ruby on Rails monolith…
Ruby / Rails Inside
https://thoughtbot.com/blog/enum-vs-enum-vs-enum-enumeration-enumerator-enumerable
thoughtbot
enum VS enum VS enum - Enumeration, Enumerator & Enumerable
How do enums works in Ruby, and what they actually are.
Ruby / Rails Inside
https://blog.saeloun.com/2022/09/28/improve-in-order-of-querying.html
Saeloun Blog
Rails improves the "in_order_of" querying method
The query that previously only used to allow symbolic column names, now handles string values.
Ruby / Rails Inside
https://honeyryderchuck.gitlab.io/httpx/2022/10/03/how-to-bundle-production-mode-in-docker.html
Ruby / Rails Inside
https://blog.appsignal.com/2022/10/05/security-best-practices-for-your-rails-application
Appsignal
Security Best Practices for Your Rails Application | AppSignal Blog
Ensure your Rails application stays secure by following some best practices and habits.
Ruby / Rails Inside
https://world.hey.com/this.week.in.rails/updated-permissions-policy-directives-and-lsp-support-d0a52e70
Hey
Updated Permissions-Policy directives and LSP support?
Hi, this is Petrik with this weeks updates in the Rails world. Support more Permissions-Policy directives With the Permissions-Policy header you can allow or block the use of browser features. This pull request adds support for directives for the following…
Ruby / Rails Inside
https://janko.io/what-it-took-to-build-a-rails-integration-for-rodauth/
Janko’s Blog
What It Took to Build a Rails Integration for Rodauth
When Rodauth came out, I was excited to finally have a full-featured authentication framework that wasn’t tied to Rails, given that existing solutions required either Rails (Devise, Sorcery), or at least Active Record (Authlogic). Even though I mainly develop…
Ruby / Rails Inside
https://www.youtube.com/watch?v=AJTzYK8yoL8
YouTube
Paweł Dąbrowski - Under The Hood And On The Surface Of Sidekiq - wroc_love.rb 2022
Ruby / Rails Inside
https://translation.io/blog/gettext-is-better-than-rails-i18n
translation.io
Why GetText is Better than Rails I18n - Translation.io Blog
Several reasons why using GetText is better than using Rails I18n YAML in our opinion.
Ruby / Rails Inside
https://world.hey.com/this.week.in.rails/column-information-in-erb-template-exceptions-migration-option-validation-and-more-05773303
Hey
Column information in ERB template exceptions, migration option val...
Hey, this is Greg bringing you the latest news from the Rails world. Add column information to exceptions inside ERB templates This PR adds column information to exceptions that occured inside ERB templates. There are before and after screenshots of the Rails…
Ruby / Rails Inside
https://railsinspire.com/samples/9
RailsInspire
User Live Search with Stimulus, Turbo Frames and PgSearch
Here's a solution I've used on a project to add a user switcher dropdown with typeahead search to a navbar. It uses the pg_search gem for Postgres full-text search. There are a lot of blog posts out there with similar solutions, with terms like: typeahead…
Ruby / Rails Inside
https://www.bootrails.com/blog/rails-and-sveltejs-tutorial/
Bootrails
Ruby-on-Rails and SvelteJS tutorial
SvelteJS vs others
Ruby / Rails Inside
https://dry-rb.org/news/2022/10/17/dry-rb-adopts-zeitwerk-for-code-loading/
Ruby / Rails Inside
https://evilmartians.com/chronicles/viewcomponent-in-the-wild-building-modern-rails-frontends
evilmartians.com
ViewComponent in the Wild I: building modern Rails frontends—Martian Chronicles, Evil Martians’ team blog
Learn why GitHub's ViewComponent library offers a great approach for building modern Ruby on Rails apps, and why you should give it a shot, too!
Ruby / Rails Inside
https://blog.saeloun.com/2022/10/18/fix-cache-when-querying-with-mutable-params.html
Saeloun Blog
Rails no longer produces false-positive query cache hits when querying with mutable bound parameters
ActiveRecord now dups and freezes complex types when making query attributes which prevents false-positive query cache hits.
Ruby / Rails Inside
https://hanamimastery.com/episodes/32-rom-pagination
Hanami Mastery - a knowledge base to hanami framework
Pagination in Hanami apps with ROM
There are plenty of popular ways to handle pagination in Ruby apps. But did you know, that ROM supports Pagination out of the box? And so Hanami does? In this episode, I'll show you how to quickly implement pagination from scratch for your Hanami projects.
Ruby / Rails Inside
https://engineering.grab.com/deep-dive-into-database-timeouts-in-rails
Grab Tech
Deep Dive into Database Timeouts in Rails
Disaster strikes when you do not configure timeout values properly. In this post, we dive into the details of how timeouts work with Ruby on Rails and Databases.
Ruby / Rails Inside
https://shopify.engineering/relationships-between-ruby-top-100-packages-dependencies
Shopify
Finding Relationships Between Ruby’s Top 100 Packages and Their Dependencies - Shopify
As packages frequently depend on other packages, could some of these big (more than 180M downloads) packages depend on small (less than 180M downloads) packages?
Ruby / Rails Inside
https://github.com/puma/puma/blob/master/6.0-Upgrade.md
GitHub
puma/6.0-Upgrade.md at master · puma/puma
A Ruby/Rack web server built for parallelism. Contribute to puma/puma development by creating an account on GitHub.