Ruby

How To Create Nested Resources for a Ruby on Rails Application — step-by-step Programming tutorial on Progressive Robot

How To Create Nested Resources for a Ruby on Rails Application

Rails is a web application framework written in Ruby that offers developers an opinionated approach to application development. As you add complexity to your Rails applications, you will likely work with multiple models, which represent your application’s business logic and interface with your database. In this tutorial, you will build on an existing Rails application that offers users facts about sharks. This application already has a model for handling shark data, but you will add a nested res

Read more
How To Install Ruby on Rails on CentOS 6 with RVM — step-by-step Linux tutorial on Progressive Robot

How To Install Ruby on Rails on CentOS 6 with RVM

This tutorial explains how to install RVM (Ruby Version Manager), and then how to install ruby, how to install ruby gems, and how to install rails on Centos 6. RVM is a program that lets you use several versions of Ruby on one server and easily switch between them.

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

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

A PostgreSQL database is a robust and flexible choice for your Ruby on Rails application. In this tutorial, you will set up a Ruby on Rails development environment connected to a PostgreSQL database on an Ubuntu 20.04 server. You will install and configure PostgreSQL, then test your setup by creating a Rails application that uses PostgreSQL as its database server.

Read more
How To Deploy a Rails App with Passenger and Apache on Ubuntu 14.04 — step-by-step Linux tutorial on Progressive Robot

How To Deploy a Rails App with Passenger and Apache on Ubuntu 14.04

In this tutorial, we will demonstrate how to install [Phusion Passenger](https://www.phusionpassenger.com) as your Rails-friendly web server, which is easy to install, configure, and maintain. We will integrate it into Apache on Ubuntu 14.04. By the end of this tutorial, we will have a test Rails application deployed on our Droplet.

Read more
How To Install Ruby on Rails on CentOS 6 — step-by-step Linux tutorial on Progressive Robot

How To Install Ruby on Rails on CentOS 6

This tutorial explains how to install Ruby, how to install ruby gems with yum or from source, how to update ruby gems and the system, and how to install rails on Centos. Ruby on Rails is an application stack that provides web developers with a framework to quickly create a variety of web applications.

Read more
How To Install Ruby on Rails with RVM on Ubuntu 18.04 — step-by-step Linux tutorial on Progressive Robot

How To Install Ruby on Rails with RVM on Ubuntu 18.04

This tutorial will take you through the Ruby and Rails installation process and set up via RVM. The command-line tool RVM will let you manage and work with multiple Ruby environments and allow you to switch between them. The project repository is located in a git repository.

Read more
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
CHAT