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.morozov.is/2022/04/26/service-objects-part-2.html
Igor writing about things
Unfinished: Designing helpful service objects. Part 2. Practice
This is a partially-written post, which will never be complete I've been writing this article on-and-off since June 2020. I didn't like how it turned out and re-wrote it numerous times. It tries to cover way too many things at once, and that's the problem…
Ruby / Rails Inside
https://davidmles.medium.com/the-most-useful-visual-studio-code-extensions-i-use-for-ruby-development-637501115248
Medium
The most useful Visual Studio Code extensions I use for Ruby development
I use Visual Studio Code daily for web development with Ruby on Rails. By default, it is a great editor with handy tools. But its great…
Ruby / Rails Inside
https://timriley.info/writing/2022/04/28/salubrious-ruby-dont-mutate-what-you-dont-own/
Ruby / Rails Inside
https://janko.io/how-i-enabled-sequel-to-reuse-active-record-connection/
Janko Marohnić
How I Enabled Sequel to Reuse Active Record’s Database Connection
When I started developing the Rails integration for Rodauth, one of the first problems I needed to solve was how to make Rodauth work seamlessly with Active Record, given that it uses Sequel for database interaction. I believed these two could coexist together…
Ruby / Rails Inside
https://www.youtube.com/watch?v=qpZgHeteH04
YouTube
Inline Editing each Page Title - Episode 2 - Let's recreate Notion in Ruby on Rails
In a normal Rails app we have forms, we have save buttons, and finish work early. But I want my page titles to be inline editable. I will figure out how to capture key events, submit the changes to the server, and even update the page URL with new slugs.…
Ruby / Rails Inside
https://www.honeybadger.io/blog/avoid-race-condition-in-rails/
Honeybadger Developer Blog
How to Avoid Race Conditions in Rails
Race conditions are hard to debug—especially when you don't know it's a race condition! This article looks at some common race conditions and the best solutions for handling each one.
Ruby / Rails Inside
https://featurist.co.uk/blog/hosting-rails-apps-for-free-on-oracle-cloud-with-dokku/
archive.featurist.co.uk
Hosting Rails apps for free on Oracle Cloud with Dokku
Dokku has always been a low effort way to have your own Heroku. And now on a free infrastructure.
Ruby / Rails Inside
https://www.honeybadger.io/blog/active-support-cache-increment/
Honeybadger Developer Blog
Rails' Hidden Gems: ActiveSupport Cache Increment and Decrement
You've probably used `Rails.cache` to read, write, and fetch cached data in Rails—but did you know you can also work with counters? In this series, Jonathan Miles introduces us to some of the lesser-known tools hidden in your Rails codebase.
Ruby / Rails Inside
https://www.youtube.com/watch?v=-TZk-En9kT8
YouTube
Adding Tip Tap editor to Rails - Episode 3 - Recreate Notion in Rails
Notion is a text editor on steroids; so we need our own headless text editor. And we need steroids. In this episode, we add Tip Tap into our Rails app via a StimulusJS controller, and explore how Tip Tap work. Oh, and then we save data to the server.
Links:…
Ruby / Rails Inside
https://greg.molnar.io/blog/6-security-improvements-in-rails-7/
{ Greg Molnar }
6 security improvements in Rails 7
Rails is one of the most secure framework by default for a long time, but still there is always room for improvement, and the lates version brings a few nice improvements.
Ruby / Rails Inside
https://dmitrytsepelev.dev/natural-language-programming-with-ruby?utm_source=ruby_flow&utm_campaign=ruby_natural
dmitrytsepelev.dev
How to make Ruby interpreter run program written in a natural language
Building a Ruby DSL that can understand and execute a program written in an almost natural language
Ruby / Rails Inside
https://www.youtube.com/watch?v=CR2FCYia8C4
YouTube
Real-Time Page Updates With Hotwire in Just 5 Minutes
🔥
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 use ActionCable to broadcast TurboStreams over Web-sockets.
Ruby / Rails Inside
https://shopify.engineering/porting-yjit-ruby-compiler-to-rust
Shopify
Our Experience Porting the YJIT Ruby Compiler to Rust - Shopify
In this post, I want to give a nuanced perspective on our experience porting YJIT from C to Rust. I'll talk about the positives, but also discuss the things that we found challenging or suboptimal in our experience.
Ruby / Rails Inside
https://nts.strzibny.name/hybrid-docker-compose-rails/
Notes to self
A hybrid development Docker Compose setup for Rails
Lots of developers choose between dockerizing their development setup or leaving it as is. There is also a viable hybrid approach in combining Docker Compose with native processes.
Ruby / Rails Inside
https://fpsvogel.com/posts/2022/ruby-hash-dot-syntax-dig-performance-benchmarks
Felipe Vogel
Dot syntax and deep_fetch for Ruby hashes
benchmarks and usability considerations
Ruby / Rails Inside
https://hanamimastery.com/episodes/21-serialization-with-alba
Hanami Mastery - a knowledge base to hanami framework
JSON Serialization with Alba in Hanami
Serialize your API responses in Hanami applications with alba - the fastest ruby serialization gem
Ruby / Rails Inside
https://thoughtbot.com/blog/a-case-for-query-objects-in-rails
thoughtbot
A Case for Query Objects in Rails
When is it best to reach for query objects and how can we best structure them?
Ruby / Rails Inside
https://shopify.engineering/shopify-ruby-at-scale-research-investment
Shopify
Shopify Invests in Research for Ruby at Scale
Shopify is investing on Ruby on Rails at scale by funding high-profile academics to focus their work towards Ruby and the needs of the Ruby community.
Ruby / Rails Inside
https://shopify.engineering/our-favorite-moments-from-railsconf-2022
Shopify
Our Favorite Moments From RailsConf 2022
The Rails community gathered in Portland for the first in-person RailsConf in two years. Shopify developers recap a few highlights from the three-day event.
Ruby / Rails Inside
https://blog.saeloun.com/2022/05/24/sql-query-in-rails.html
Saeloun Blog
How to write SQL queries in Rails?
ActiveRecord in Rails helps developers to simplify the process of interacting with databases.