Basic Commands hg branch - display the branch you're currently on. hg branches - display all branches for the current repository. hg checkout <b…

  • hg mercurial

After not being able to find a resource for the order of the current Rails4 Controller Callbacks, I ran all the callbacks to see what ran when. I mad…

  • rails ruby callbacks

Sigh. [1] hollandaise_party » blank_string = String.new => "" [2] hollandaise_party » price = blank_string.to_d => 0.0 [3] hollandaise_party …

  • ActiveRecord Rails Validates Ruby

Building an API with Rails and I wanted to respond back with a certain error message just using a hash. Easypeasy with JSON, however with XML it wasn'…

  • rails 3.2.16 ruby

For little over a year now I've been using a Mac at work and home, and I've come across some pretty legit programs that have made my life easier. Fl…

  • Addons

Well the good thing is using DigitalOcean has a image for creating a ghost/nginx/ubuntu - so if you're using DO, then you can do what I did and just c…

  • nginx ghost ubuntu

Attack on Titan is a fantastic show. …

  • Anime