Spoiler: it can do much more that what you probably thought.
Easy to digest, yet non-trivial explanation of different means of concurrency and parallelism we now have in Ruby, the differences between them and what to keep an eye on.
Interesting memory of Louis Pouzin who coined the term Shell (and came up with the idea) in the first half of the sixties.
Nice example of gradually spliting big chunk of work into more and more granular jobs.
Modern mini computer in keyboard form factor, in the style of my old Speccy is something i've been long waiting for!
Use composite primary keys to speed up querying big databases.
Long due, at last read. Nice summary of the important changes the 2.7 brings - with code examples.
Short end-to-end walkthrough of what happens behind the curtain when you call
perform_async on your Sidekiq job until the moment it is executed.
Introducing RBS, Ruby’s new type signature language. What you can write using RBS, the key concepts of the design of RBS, and the benefits and tools that come with RBS.
Non-trivial tips for database development.
Thoughts about the differences between CLIs and GUIs in relation to materiality of user interaction and it's consequences.
Nice quick overview of bitwise operation and how to use them in ruby to do some basic "tricks".
Use Postgres' DISTINCT ON clause to get rid of N+1 in Rails.
Quick list of cool ways to use the *splat operator.
Simple exlanation and an example of linear regression in ruby.
How to use ruby's built-in file based key-value store as a cache for your HTTP requests.
How to pretty print CSV files on the commandline using only the basic unix tools?
TL;DR: use Typhoeus::Hydra. Very good article. Read comments for other nice tips.
How the different types of method arguments work in ruby.
Very good and brief guide to vim movement via custom key bindings in ST3.
Ruby: when to use
extend self vs.
module_function in your modules.
Did you know the
uniq method also accepts blocks?
First look at the new
Enumerable#tally method. Useful for counting occurencies.
Playing with the upcoming Ruby pattern matching/destructuring and a look into some potential usecases for it.
[VIDEO] Really excellent hands-on talk on refactoring with live examples. By James Dabbs, from RailsConf 2019.
When to use
inject (reduce) and when
each_with_object in ruby?
Did you know all the ways you can make a ruby hash have a default value?
Tutorial on how to build a podcast feed with ruby and AWS lambda. You'll write a lambda function that will re-generate your podcast feed everytime you upload a new episode to your S3 bucket.
How to use the Command/Interactor pattern in Elixir wtih Ecto.Multi and Phoenix contexts.
Practical intro to the Jets framework that allows you to build AWS lambda functions with Ruby in Rails-like way.
Long and deep reflection on the DRY and small-functions design principles. Why it's not always the case that small functions means good code. Judging by the subsequent discussion the article hit a nerve in the community.
Another aproach to the interactor/command pattern also discussing practical side of using it.
[VIDEO] Samuel Williams' talk from this year's Ruby Kaigi about troubles wiht concurency & paralelism in ruby and how to solve it with the means we currently have (fibers) - at least in web develompent.
Fun short tutorial for object detection in python using your laptop's camera.
[VIDEO] How to make nested forms (Cocoon style) from scratch with Stimulus and Rails.
RailsPanel is a Chrome extension for Rails development that will end your tailing of development.log. Have all information about your Rails app requests in the browser - in the Developer Tools panel. Provides insight to db/rendering/total times, parameter list, rendered views and more. I'm apparently the last person on the planet who did not know about this great extension :)
[VIDEO] Talk by Daniel Vartanov from RubyConf 2017.
In depth journey through the whole stack from the browser to the Rails controller action, through DNS, webserver, Rack stack to the app itself. Excellent long read for ruby web developers.
Custom ranges are quite easy to create as you learn from this article.
[VIDEO] Brace yourselves, Rails 6 is coming! Finally a nice short intro guide on how to use webpacker for JS and CSS instead of the Asset Pipeline.
Have you ever wondered how does the rendering in Rails work? And did you know that Rails compiles the templates into methods? Nice example of ruby metaprogramming and aood thing to know as a Rails developer.
Using he FaastRuby platform I built a little lambda function that runs every night, looks for new articles on my favourite blogs and if it finds any it sends me an email with links.
All the ways you can delegate method calls in ruby. Nice summary.
Ruby library that pushes REST APIs towords GraphQL. Very interesting, watch at least the video presentation.
[VIDEO] Very fun and thought provoking talk by late Joe Armstrong, inventor of Erlang, who passed away just yesterday.
Fascinating look into the long & chaotic development of BioWare's latest big game Anthem. Jason Schrier, one of the best game journalists of today interviews almost 20 people involved in the painful process and shines some light on the ordeal they went through. Long- & must- read if you're interested in game development scene.
How to integrate Rails & Phoenix - the author's team built the admin panel & jobs processing in Rails (fast to build, team more experienced), and the heavy-duty API in Phoenix (can easily handle the traffic & scale). They're enqueueing jobs from the Phoenix part while the Rails app is picking them up for processing. They're also forwarding the requests from Phoneix to Rails. Great approach if you need to gradually move part of your app (API?) to Phoenix.
Nice trick for sane data migrations - inside the migration class define migration models that override the real models and thus prevent problems with callbacks, validations, model changes, etc.
Very interesting gem that let's you use many of the more advanced PostgreSQL features with your ActiveRecord models.
On point quick guide on how to (more) efficiently iterate through large datasets with ruby and ActiveRecord, Redis, S3 buckets and even files.
Old article but I think it still holds up as an intro to using ruby for Redis Pub/Sub messaging. Good to know if your're using something like Rails' ActionCable. Also, the example is much fun to play with.
Excellent intro to the minimalist and innovative web framework Roda.
Great practical intro guide to Emacs.
List of areas you should focus your attention to when securing your web app plus suggestions on what to do/use.
about controller params validation & how to use
apipie-rails gem for this purpose.
Simple intro to ruby value objects. Also read comments too!