Ruby

Ruby, Rbenv, RVM, Ruby on Rails, Gems

Rails: Managing Migrations

Published
Migration is a tool for managing databases within Ruby on Rails. The tool itself only offers a few features but people use it in a... Read More

Ruby Enumberable

Published
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... Read More

Rails in a single command

Published
Rails is always evolving. Sure, many people will argue that the framework (and subsequent community) is not iterating as quickly as Javascript but for many... Read More

Rails: Querying the model

Published
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... Read More

Rails: Rake Tasks

Published
Tasks help you create a repeatable set of scripts. Read more on my favorite tasks I've created over the years.... Read More

Heroku: Publishing a Sinatra App

Published
When it comes to publishing web (or API-only) apps, I either pick Openshift or Heroku for hosting. Both services are great but when it comes... Read More

Rails: Command Line Cheatsheet

Published
Unless you regularly work with Rails, it's inevitable that you'll end up forgetting the various commands aimed at making your life easy. Although Googling your... Read More

Rails: Authenticating with Devise

Published
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... Read More