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://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.
Ruby / Rails Inside
https://blog.appsignal.com/2022/10/19/improve-code-in-your-ruby-application-with-rubycritic.html
Appsignal
Improve Code in Your Ruby Application with RubyCritic | AppSignal Blog
Let's take a look at RubyCritic and dig into RubyCritic's reports.
Ruby / Rails Inside
https://world.hey.com/this.week.in.rails/an-active-record-improvement-performance-gains-and-a-bugfix-5254976c
Hey
An Active Record improvement, performance gains and a bugfix!
Guten Tag! Emmanuel here again, with some updates from Rails. Don't trigger after_commit :destroy callback again on destroy if record previously was destroyed The after_commit :destroy callback would always run even if a record was destroyed previously. This…
Ruby / Rails Inside
https://evilmartians.com/chronicles/viewcomponent-in-the-wild-supercharging-your-components
evilmartians.com
ViewComponent in the Wild II: supercharging your components—Martian Chronicles, Evil Martians’ team blog
Learn how to supercharge your ViewComponent-based code with various techniques that we use in our projects at Evil Martians.
Ruby / Rails Inside
https://blog.testdouble.com/posts/2022-10-25-building-passwordless-email-auth-in-rails/
Test Double
Building passwordless email auth in Rails
Adding authentication to your Rails app but don't want to store passwords or rely on third-party OAuth? Let's build a passwordless login system that emails users magic links!