Today I Learned

Waiyan Yoon

Waiyan Yoon's sharing on web development. Follow on Twitter

JavaScript Promise and Async / Await Part 1: Introduction to Promise

May 22, 2019

promises So you’ve clicked the title to read this post. I know you’re a JavaScript developer by then. You’ve probably seen “promise” and…

How to Receive Emails in Your Rails Application

August 10, 2018

There are times when a Rails app needs to receive emails to process the content, or grab the file from the attachment and process data…

Understanding Basics of React Context

June 08, 2018

The use of React Context with renderProps that’s introduced since React v16.3 is highly being recommended in React community to pass global…

Convert API Result Hash to Ruby Objects

May 02, 2018

Note: Examples shown in this post are a fraction or a sample response returned from Lazada Open Platform: Without a sophisticated Ruby SDK…

The Art of Finding a Lost Ruby Gem

April 27, 2018

Context A project was remained almost untouched for a year and it was out of dust recently for migrating a deprecating API. For frontend…

Use of React.Fragment

April 26, 2018

React developers know what does it mean when they saw this error: Adjacent JSX elements must be wrapped in an enclosing tag It’s simply…

Deploying Rails 5.2 Applications with New Encrypted Credentials using Capistrano

April 25, 2018

Context Rails 5.2 has been released with dozens of new features, which highlights the release of ActiveStorage and a new way to deal with…

Still Using Rake for Commands in Your Rails 5 Projects?

April 09, 2018

While it’s programmed in my brain to use commands for migrations and tasks, I find it very useful to use command instead of which is…

Replacing Content Displayed in Active Admin Blank Slate

July 31, 2015

There are tons of Active Admin workarounds available in the net but there are very limited resource on manipulating the content to be…