Member-only story

Engineering With ROR: Digest #5

Curated and handpicked Ruby on Rails blogs.

Suraj Mishra
4 min readMar 2, 2024

Introduction

In this issue, we have picked some interesting articles published last week that are worth reading. These articles cover topics such as Serializing Ruby, Rails on AWS Elastic Beanstalk, Zeitwerk Migration, Scaling Ruby, Dataframes in Ruby, Turbo Frames, RuboCop, and Turbo Morphing. Consider subscribing, liking, and sharing it.

Subscribe to the newsletter

Learn to make innovative web apps with Ruby on Rails and unleash your creativity ( Affiliated )

The Complete Ruby on Rails Developer Course
(Bestseller | 4.4
| 100k+ students)

Learn to Code with Ruby
(
Bestseller | Rating: 4.8 /5 (6k ratings) | 78k students)

1. Serializing Ruby datatypes in JSON

In this blog post, the author discusses the serialization of Ruby datatypes in JSON and introduces a feature that allows for the serialization of most core datatypes using JSON extensions. He starts by demonstrating how the default behavior of Ruby’s JSON library converts non-native types, such as Range, Symbol, and Time, into Strings during JSON generation. However, this approach results in a loss of the original datatypes when parsing the JSON back.

--

--

Suraj Mishra
Suraj Mishra

Written by Suraj Mishra

Staff Software Engineer @PayPal ( All opinions are my own and not of my employer )

No responses yet