The Lazy Log
  • Home
  • About Me
Subscribe
Tagged

ruby

A collection of 4 posts

PHP

Some tips for doing OAuth Integration with Magento

I am not a PHP developer but recently I have been asked to build a Lambda service written in Ruby which calls Magento API via its OAuth Integration. That might sound simple because 3rd-party API integration is not something new and I have done lots of similar tasks before. However,

Chien Tran Aug 14, 2021 • 2 min read
ruby

Doing some work before exiting (Ruby)

When running a few programs (like Web server or a script), do you notice that sometimes they print out "Good bye" message before exiting? I was wondering if I could do a similar thing in Ruby and it turned out to be pretty easy. First, I learned that

  • xuanchien
xuanchien Apr 25, 2018 • 1 min read
best practices

Working with temp files in Ruby

Temp files are necessary in cases when you need to store some data before feeding it into another program. In this post, I am going to show you several ways of creating temp files and how to use them in Ruby code. Temp files or temporary files are files created

  • xuanchien
xuanchien Nov 15, 2016 • 2 min read
rails

Using serialize option in Ruby on Rails

In this post, I am going to show you how to make use of serialize option in Ruby on Rails so that you can store information in your database more efficiently. First of all, have you ever been in a situation which you want to store an array or a

  • xuanchien
xuanchien Sep 4, 2014 • 2 min read
The Lazy Log © 2022
  • Data & privacy
  • Contact
Powered by Ghost