2019-10-17: Vim-style movement (and more) in Sublime Text 3
Very good and brief guide to vim movement via custom key bindings in ST3.
2019-08-13: Self Improvement
Ruby: when to use extend self vs. module_function in your modules.
2019-08-09: How to Use The Ruby Uniq Method To Remove Duplicates
Did you know the uniq method also accepts blocks?
2019-06-05: Ruby 2.7 — Enumerable#tally
First look at the new Enumerable#tally method. Useful for counting occurencies.
2019-06-04: Ruby 2.7 — Pattern Matching — Destructuring on Point
Playing with the upcoming Ruby pattern matching/destructuring and a look into some potential usecases for it.
2019-06-04: Refactoring Live: Primitive Obsession
[VIDEO] Really excellent hands-on talk on refactoring with live examples. By James Dabbs, from RailsConf 2019.
2019-06-04: inject vs each_with_object
When to use inject (reduce) and when each_with_object in ruby?
2019-06-04: Refactoring with Hash Defaults
Did you know all the ways you can make a ruby hash have a default value?
2019-06-04: AWS Lambda + Ruby = Podcast
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.
2019-06-04: Reorganizing your (Phoenix) Contexts as Use Cases
How to use the Command/Interactor pattern in Elixir wtih Ecto.Multi and Phoenix contexts.
2019-06-03: Serverless Ruby on AWS Lambda with the Jets framework
Practical intro to the Jets framework that allows you to build AWS lambda functions with Ruby in Rails-like way.
2019-05-27: Small Functions considered Harmful
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.
2019-05-26: A Case For Use Cases
Another aproach to the interactor/command pattern also discussing practical side of using it.
2019-05-16: Fibers Are the Right Solution
[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.
2019-05-12: Real-time object detection with deep learning and OpenCV
Fun short tutorial for object detection in python using your laptop's camera.
2019-05-10: Nested Forms from Scratch with StimulusJS
[VIDEO] How to make nested forms (Cocoon style) from scratch with Stimulus and Rails.
2019-05-10: RailsPanel for Chrome
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 :)
2019-05-09: What does GIL really guarantee you?
[VIDEO] Talk by Daniel Vartanov from RubyConf 2017.
2019-05-04: The Lifecycle of a Request
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.
2019-05-03: Using custom objects in Ruby Ranges
Custom ranges are quite easy to create as you learn from this article.
2019-05-03: How to use Bootstrap with Webpack & Rails
[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.
2019-05-03: Disassembling Rails — Template Rendering (2)
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.
2019-05-02: Article Gatherer
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.
2019-04-30: Ruby's Hidden Gems: Delegator and Forwardable
All the ways you can delegate method calls in ruby. Nice summary.
2019-04-29: Ruby is the Best Javascript
[VIDEO] Funny talk about how to turn Ruby into Javascript (i.e. write valid ruby code with JS syntax) which shows the power of metaprogramming in Ruby. By Kevin Kuchta on RubyConf 2018.
2019-04-28: Graphiti
Ruby library that pushes REST APIs towords GraphQL. Very interesting, watch at least the video presentation.
2019-04-23: Chris McCord Keynote: Phoenix LiveView
[VIDEO] Interactive, Real TIme Apps - No need to write Javascript. Really awesome technology, now out in the public for everyone to try.
2019-04-21: The Mess We're In
[VIDEO] Very fun and thought provoking talk by late Joe Armstrong, inventor of Erlang, who passed away just yesterday.
2019-04-08: How BioWare's Anthem Went Wrong
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.
2019-04-03: How we Built a Highly Performant App with Ruby on Rails and Phoenix
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.
2019-04-01: How to Access Production Data in Rails Migrations
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.
2019-03-29: ActiveRecord Extended
Very interesting gem that let's you use many of the more advanced PostgreSQL features with your ActiveRecord models.
2019-03-20: Enumerating over large datasets in Ruby
On point quick guide on how to (more) efficiently iterate through large datasets with ruby and ActiveRecord, Redis, S3 buckets and even files.
2019-03-15: Redis Pub/Sub... How Does it Work?
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.
2018-03-13: Introduction to Roda
Excellent intro to the minimalist and innovative web framework Roda.
2018-03-12: How I Emacs And So Can You
Great practical intro guide to Emacs.
2018-03-11: Ten Ways to Secure your Applications
List of areas you should focus your attention to when securing your web app plus suggestions on what to do/use.
2018-03-08: Why don’t we validate controller parameters?
about controller params validation & how to use apipie-rails gem for this purpose.
2018-03-08: Value Objects in Ruby
Simple intro to ruby value objects. Also read comments too!