Guides to the core and standard libraries, as well as selected Rubygems.
Category: APIs and Libraries

Episode #548
JSON API in Rails – Part 2
Last week Youssef Chaker demonstrated the risks in adding a quick, ad-hoc JSON endpoint. Today he's going to show you how to leverage JSON-API to create RESTful HTTP interfaces that …

Episode #547
JSON API in Rails – Part 1
It's one thing to add a basic JSON endpoint. Another to grow an API that's consistent, predictable, well-documented, and fails gracefully. Join guest chef Youssef Chaker for an exploration of …

Episode #546
Memory Management in C Extensions – Part 2
Avoid pesky segmentation faults in Ruby native extensions! Join Jeremy Evans to learn the correct use of the Ruby C API to ensure memory is freed when-and ONLY when-it is …

Episode #545
Memory Management in C Extensions – Part 1
Looking to optimize some critical Ruby code with a native extension? Join veteran library maintainer Jeremy Evans for a demonstration of how to write Ruby C extensions that won't leak …

Episode #543
Using Sidekiq Middleware
Join guest chef Mike Perham to learn how to recreate background job context using Sidekiq middlewares!

Episode #535
Episode #535: String Cleaning with Avdi
Master Ruby's power tools for cleaning up and normalizing strings.

Elegantly generate data in bulk with Ruby Enumerators and Arrays
Watch Avdi Grimm and James Gray demonstrate the art of concise, expressive Ruby code in two classic RubyTapas videos.

Bust nils with Hash#fetch!
A RubyTapas classic, now free: learn how to use Hash#fetch to catch missing hash keys before they do more damage!

Episode #525 – Memory Profiling – Nate Berkopec
Objects may be cheap in Ruby, but they aren't free. Learn how to diagnose memory usage problems using Ruby's built-in ObjectSpace API, with Ruby and Rails optimization expert Nate Berkopec!