Ruby: Loops
There are a lot of different ways to complete a loop. Here's a list of the most popular ones. Loop Loop in increments of 2 until...
There are a lot of different ways to complete a loop. Here's a list of the most popular ones. Loop Loop in increments of 2 until...
With Rails 5, the deployment process to Heroku has gotten even easier. Here are the steps to publishing a new Heroku app without using a one-click install. STEP...
I doubt many people will need this but here are a few neat things you can do with Ruby. I won't go into great detail but...
Thanks to some metaprogramming magic, whenever you create a column within a table, you get a free find_by_[name of column] method. Create a new Friend model...
When it comes to publishing web (or API-only) apps, I either pick Openshift [https://www.openshift.com/] or Heroku [https://dashboard.heroku.com/] for hosting. Both services are...
I've been working with the Stripe API lately and I thought it might be handy to write a simple Ruby on Rails application that integrates Ruby...
There are many ways to install Ruby on Rails but the current trend is to use a package manager to keep things in order. The best two options...
Lately, I've been experimenting with AWS S3, EC2, and Lambda and the process is pretty great. That said, I don't feel comfortable wasting compute...
This article is for developers interested in installing two different versions of Ruby on their system. Method 1 We'll use brew package manager to help you...
Rails is all about patterns and when you're creating models, it's important to set pattern-based rules before you publish to your database. Below are...
What is the sum of all odd numbers in the Fibonnoci sequence that are less than 5000? class Fibonacci def initialize @a = 1 @b = 1 @total = 0 end...
Rails is terrific, but if you're new to web development, I suggest you give Sinatra a try first. Not only is it excellent for building small...