Ruby/RoR News Digest 1 - 7.02

Interview with DHH, error handling with Monads in Ruby, handling Ruby 2.7 deprecations warnings and other interesting things
07 February 2020   221

Greetings! I hope your week went great! Here's new Ruby news digest.

Learn about Big-O notation with Ruby, backward-compatible database migrations, check what's behind the magic of Ruby DSLs and more.

Guides

  • Exploring Big-O Notation With Ruby

Tutorial about ‘Big O’ notation that is used to express algorithmic complexity 

  • Error handling with Monads in Ruby

Learn why monads a nice way to handle tracking the success or failure of calls in your app and how to do that

  • Backward-compatible database migrations

Guide, based on the real story about the database migrations on live apps

  • Handling Ruby 2.7 deprecations warnings

Learn how to deal with Ruby 2.7 deprecations warnings in this tutorial

  • Pay No Attention: Behind the Magic of Ruby DSLs

Check the tutorial about method_missing, one of the sharper knives in Ruby’s metaprogramming drawer

  • Dockerizing a Ruby on Rails Application

Learn how to use Docker with Rails

  • Gemifying your style guide to DRY your CSS

Rails can really help you even with CSS

Articles

  • Interview with DHH

Rails creator talks about his relationship with Ruby, and why single page apps, microservices, and standups are not for him

  • What kinds of Rails tests I write and what kinds I don’t

Skilled developer's throughts about tests in Rails

Podcast

  • 306: Ask For The Job with Brian Mariani (Part II)

In this series, Brian Mariani, founder of Mirror Placement, a Ruby on Rails focused recruiting firm, shares her knowledge on financial negotiations during the job interview

Updates

  • SimpleCov

Popular code coverage analysis tool for Ruby

  • Vacuum

A Ruby wrapper to Amazon Product Advertising API 5.0

  • ActiveInteractor

This is an implementation of the command pattern for Ruby with ActiveModel::Validations inspired by the interactor gem

Ruby/RoR News Digest 25 - 31.01

Optimization techniques by benchmark winners, rubyist's introduction to character encoding, working with tempfiles and more
31 January 2020   203

Greetings! I hope your week went great! Here's new Ruby news digest.

Learn how to perform concurrent HTTP requests in Ruby and Rails, check a guide to NPM version constraints for Rubyists, see the video how to use Uppy with ActiveStorage and check other interesting materials

Guides

  • Optimization Techniques by Benchmark Winners

Tutorial, based on the Sequel and Roda gems extracted from Jeremy Evans' Ruby Kaigi talk, which will teach you some optimization tips and hints

  • How to Perform Concurrent HTTP Requests in Ruby and Rails

Another concurrency related guide, that will show you have make it safer in an easy way

  • A Rubyist's Introduction to Character Encoding, Unicode and UTF-8

A big and solid guide on encodings, which starts with the history of encoding, how it works and show you have it can be used with Ruby

  • A guide to NPM version constraints for Rubyists

A tutorial to NPM version constraints for dependencies declared in the package.json file of any Rails project

  • Working with tempfiles

Learn when and how you can use this Ruby's standard library 

  • Wrangling slow reports, large file exports, and long-running tasks in Rails with ActiveJob

Sometimes if you need to generate large file exports or run reports that are just slow to build, pushing them to a background job makes sense.

This blog is called Boring Rails, so, maybe it's worth checking whether it's really so?

Video

  • How to use Uppy with ActiveStorage

Updates

  • SimpleCov

Popular code coverage analysis tool for Ruby

  • Vacuum

A Ruby wrapper to Amazon Product Advertising API 5.0

  • ActiveInteractor

This is an implementation of the command pattern for Ruby with ActiveModel::Validations inspired by the interactor gem