Ruby

How to Use and Understand Action Objects and the cloud provider API — step-by-step Programming tutorial on Progressive Robot

How to Use and Understand Action Objects and the cloud provider API

In version two of the cloud provider API, each event that occurs creates [an “Action” object](https://www.progressiverobot.com/). These serve both as records of events that have occurred in the past and as a way to check the progress of an on-going event. From creating a new Droplet to transferring an image to a new region, an Action object will provide you with useful information about the event. This article will explain Action objects and show how they can be used in practice.

Read more
How To Install Ruby and Set Up a Local Programming Environment on Windows 10 — step-by-step Programming tutorial on Progressive Robot

How To Install Ruby and Set Up a Local Programming Environment on Windows 10

This tutorial will go over how to set up a Ruby programming environment on your local Windows 10 machine using the command line. You’ll configure Bash on Windows, and then use the Ruby Version Manager—better known as RVM, a software platform built to manage multiple Ruby installations—to install the latest version of Ruby and its prerequisites. Then you’ll test your environment out by writing a simple Ruby program.

Read more
How To Use Comments in Ruby — step-by-step Programming tutorial on Progressive Robot

How To Use Comments in Ruby

Comments are lines in computer programs that are ignored by compilers and interpreters. You can use comments to make your programs easier for other programmers to understand by providing more context or explanation what each part of a program is doing. In this tutorial, we will look at how to use comments in Ruby programs to leave notes, as well as how to use them as a debugging tool.

Read more
How To Use PostgreSQL with Your Ruby on Rails Application on Ubuntu 14.04 — step-by-step Linux tutorial on Progressive Robot

How To Use PostgreSQL with Your Ruby on Rails Application on Ubuntu 14.04

Ruby on Rails uses sqlite3 as its default database, which works great in many cases, but may not be sufficient for your application. If your application requires the scalability, centralization, and control (or any other feature) that is provided by a client/server SQL database offers, this tutorial will show you how to do just that, with PostgreSQL, on Ubuntu 14.04.

Read more
CHAT