Ruby
60 postsRuby, Rbenv, RVM, Ruby on Rails, Gems
Deploying Rails 5.x on AWS ElasticBeanstalk using AWS CodeCommit
How to deploy your Rails app on ElasticBeanstalk (including S3 buckets, security groups, load balancers, auto-scalling groups and more) using CodeCommit.
Installing Vue + Rails 5.x
How to install Vue.js framework on Ruby on Rails.
Ruby: Web 2.0 Name Generator
Name Generator in the style of a Web 2.0 company.
AWS: Using Rake Tasks to SSH into EC2
I work a lot with EC2 and one thing I always have to Google is how to SSH into an AMI, Ubuntu, Fedora, or CentOS instance. Part of...
Rails: Troubleshooting Strategies
There are about a dozen or so reasons why your Rails app might fail to load locally or on a host like Heroku. Below are a few common...
AWS: Working with CodeCommit
Elastic Beanstalk is a one-stop shop for Ruby on Rails developers to publish their apps. In this tutorial, I'll show you how to first commit your...
Rails: List Objects Using Rails Console
I was looking for a way to get a collection of every model using the Rails console. Here are a few simple ways to do it. Step 0...
Using Jenkins to Trigger Rake Tasks
This tutorial [https://www.chrisjmendez.com/2017/01/08/installing-jenkins-using-virtualbox-and-vagrant/] will show you how to install Jenkins on Linux Debian using VirtualBox and Vagrant. After you've...
Rails: Running a scheduler
Heroku offer's a pretty nifty scheduler [https://elements.heroku.com/addons/scheduler] add-on for running jobs on your app at scheduled time intervals, much like cron...
Ruby: Converting XML to JSON
Today I was asked to convert an XML file full of e-mail addresses into JSON. I thought this solution might help others learn how to create an XML,...
Heroku: Working with Memcache
Rails Fragment caching on a Heroku dyno.
Heroku: Upgrading your database
Here's a process I've found for upgrading your database on Heroku. There are many more commands and I highly suggest reviewing the Heroku Documentation...
Heroku: Dynamically capture your Dyno URL
Today I needed my Rails app to look at it's own production URL and capture the HOST information. After spending an hour looking for an answer,...
Rails: Populating Your Database using Seeds.rb
When I'm building a new app, I prefer to populate my site with fake data so that I can see how the app actually starts responding...