libraries

Understanding OAuth2… with Horses!

If you’re integrating your software with a web service these days, chances are you have to use OAuth2 to authorize it. Here’s a little story about a horse which will (hopefully) help you understand the OAuth2 flow a little better.

StimulusJS

JS framworks are great for richly interactive client-side applications. But what if we just want to take a typical Rails app and spruce it up with a little bit of extra liveness? Join guest chef Chris Oliver to learn how StimulusJS can be applied to the HTML you already have, to add a touch of extra client-side richness.

Set

Ruby’s Arrays are remarkably flexible and useful data structures, but they aren’t always the right choice. Learn how using a data abstraction that enforces uniqueness can prevent bugs, while making code more expressive of its intent!

Why GraphQL?

Join guest chef Nat Budin to see how a traditional RESTful API can lead to an inefficient client/server conversation. You’ll see what a GraphQL alternative looks like, and then get overview of some of the tools that are available for exposing GraphQL APIs!

Savon & SOAP APIs

Learn how to build well-tested interfaces to legacy SOAP-based legacy web APIs from your Ruby application, from guest chef Beth Haubert!

Roda – Part 2

Join guest Federico Iachetti to learn how to work with HTML views, in the lightweight but deceptively powerful Roda web toolkit.

Roda – Part 1

Sometimes Rails is overkill! Roda an elegantly designed lightweight alternative, and in today’s episode Federico Iachetti is going to show you how to get started using it.

Polymorphic Attributes in Rails – Part 2

Previously, guest chef Corey Haines joined us to talk about representing complex structured data with custom attribute types in Rails. Today, he returns to show us how to implement polymorphism for attributes that might take on one of several *different* data structures. Enjoy!

Polymorphic Attributes in Rails – Part 1

Sometimes model attributes need to have more structure than a simple string or number. In part 1 of a 2-part series on ActiveRecord polymorphic attributes, guest chef Corey Haines demonstrates how to represent complex attributes with custom types.

Building queries with rom-rb

In the final entry in our series on ROM with guest Tim Riley, get ready for a quick tour through some more advanced ROM features. You’ll get a sense of ROM’s flexibility, and taste of some of the ways it can be customized for special cases!