Ruby / Rails Inside
@rubyinside
733
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
733 subscribers
Ruby / Rails Inside
https://www.honeybadger.io/blog/complete-guide-to-managing-user-permissions-in-rails-apps/
Honeybadger Developer Blog
Complete Guide To Managing User Permissions In Rails Apps
There are many excellent authorization libraries for Rails, but did you know it's not that hard to build this functionality yourself? In this article, Renata Marques s...
Ruby / Rails Inside
https://www.youtube.com/watch?v=4MUEQVxUbm4
YouTube
How To Build a Powerful Search Form With Hotwire
🔥
FREE SaaS Idea Validation Playbook https://mixandgo.com/lp/idea-validation
🔥
Learn Ruby on Rails https://mixandgo.com/lp/practical-ruby-on-rails
In this video, we're looking at how to create a search form using Hotwire. Namely, we're going to filter the…
Ruby / Rails Inside
https://2n.pl/blog/refinements-in-ruby
2n.pl
Refinements in ruby | 2n
ruby refinement rails til
Ruby / Rails Inside
https://world.hey.com/jorge/changing-critical-code-paths-with-scientist-a3becb84
Hey
Changing critical code paths with scientist
I recently worked on improving the inbound email analysis system in HEY. This system analyzes every email that hits HEY to decide whether it should flag it as spam, bounce it, or warn the user about specific problems such as having a forged sender or containing…
Ruby / Rails Inside
https://sourcediving.com/debugging-deadlocks-in-ruby-on-rails-c16bd1a91721
Medium
Debugging Deadlocks (in Ruby on Rails)
Until recently, I hadn’t dug into the causes and implications of database deadlocks. Then one day, an endpoint I’d been working on suffered…
Ruby / Rails Inside
https://pawelurbanek.com/rails-thread-safety
Rails, PostgreSQL Performance Audit and Tuning Consultant for Hire
Intro to Thread-Safety in Ruby on Rails
Ensuring thread safety is critical if you want to build a performant Rails app. Unfortunately, threading-related bugs are often sneaky and only manifest in highly concurrent production environments. In this blog post, we'll discuss code examples that are…
Ruby / Rails Inside
https://rubyonrails.org/2022/3/27/this-week-in-rails-security-improvements-reducing-bytes-and-more-63e63af4
Ruby on Rails
Security improvements, reducing bytes and more!
Hi, this is Petrik, bringing you the latest news from the Rails world.Reduce the output of Rails::Railtie#inspect to the classnameAnytime inspect was called on Rails::Application, it would output the very large application object. By reducing it to the classname…
Ruby / Rails Inside
https://gorails.com/episodes/css-variables-with-rails
Gorails
How to use CSS Variables with Ruby on Rails | GoRails
CSS Variables or CSS custom properties allow you to define variables that can be used throughout your CSS to change properties and their values dynamically. It's a wonderful feature for allowing users to customize the look of your website.
Ruby / Rails Inside
https://thoughtbot.com/blog/rails-server-side-analytics-from-scratch
thoughtbot
Rails Server Side Analytics From Scratch
Learn how to track user events without sacrificing privacy and performance.
Ruby / Rails Inside
https://bibwild.wordpress.com/2022/03/28/rails7-connection-select_all-is-stricter-about-its-arguments-in-backwards-incompat-way-typeerror-cant-cast-array/
Bibliographic Wilderness
Rails7 connection.select_all is stricter about it’s arguments in backwards incompat way: TypeError: Can’t Cast Array
I have code that wanted to execute some raw SQL against an ActiveRecord database. It is complicated and weird multi-table SQL (involving a postgres recursive CTE), so none of the specific-model-bas…
Ruby / Rails Inside
https://thoughtbot.com/blog/switching-from-env-files-to-rails-credentials
thoughtbot
Switching from ENV files to Rails Credentials
A little bit of my struggles with ENV files throughout the years, and hopefully a better solution.
Ruby / Rails Inside
https://blog.saeloun.com/2022/03/29/prevent-shard-swapping.html
Saeloun Blog
Rails adds the ability to prevent unwarranted shard swapping
Rails provides the config option ActiveRecord::Base.prohibit_shard_swapping that prevents swapping of database shards.
Ruby / Rails Inside
http://postmodern.github.io/blog/2022/03/28/howto-use-activerecord-in-a-library.html
postmodern.github.io
postmodern - how to use activerecord in a library
Ruby / Rails Inside
https://www.mayerdan.com/ruby/2022/03/26/ruby-redis
Mayerdan
Ruby & Redis
Ruby / Rails Inside
https://www.youtube.com/watch?v=kjWluRJtAW0
YouTube
Ruby on Rails - How to Use Import Maps
With the release of Rails 7, import maps are the default way of loading 3rd party Javascript libraries, which means you can remove Webpack and Node.js from your project.
🎥
Join my new Ruby on Rails Class here: https://bit.ly/3P62jhq
👉
Buy my Bulletproof…
Ruby / Rails Inside
https://dev.to/thesmartnik/how-to-test-solidity-smart-contracts-with-ruby-with-rspec-and-etheriumrb-156
DEV Community
How to test solidity smart contracts with ruby with RSpec and Etherium.rb
A small guide on how you could test your smart contracts in rspec instead of using truffle
Ruby / Rails Inside
https://blog.appsignal.com/2022/03/30/5-tips-to-design-ruby-on-rails-transactions-the-right-way.html
Appsignal
5 Tips to Design Ruby on Rails Transactions the Right Way | AppSignal Blog
Check out these 5 tips to ensure your transactions are readable and well-designed in your Ruby on Rails app.
Ruby / Rails Inside
https://jonsully.net/blog/rails-credentials-can-be-confusing/
jonsully.net
Rails Credentials can be Confusing
Some conventions to follow
Ruby / Rails Inside
https://pganalyze.com/blog/how-postgres-chooses-index
pganalyze
How Postgres Chooses Which Index To Use For A Query
How the Postgres planner breaks down a query into scans and how this impacts indexing choices
Ruby / Rails Inside
https://www.rubberduckdevshow.com/episodes/36-redundant-infrastructure-on-the-cheap/
Rubberduckdevshow
Rubber Duck Dev Show Episode 36 | Redundant Infrastructure on the Cheap
In this episode of the Rubber Duck Dev Show, we discuss how to set up a redundant infrastructure for you application on the cheap.