Some of our thoughts…

So I just wanted to be on the record on the internet giving a piece of advice.

ActiveSupport monkeypatches Object and adds a #try method. This method has the following semantics:

1.try(:to_s) #=> "1"1.try(:thats_crazy_no_such_method) #=> nil

Up...

Keep on reading ›

Getting a website going from scratch with Rails 4.0and Ruby 2.0 can be done in a day; including getting it deployed to Heroku! Don't believe me? Let's just do it.

RVM

First you'll need to install RVM:

curl -L https://get.rvm.io | bash -s stable

...

Keep on reading ›

So it's been a month since my last (nominally weekly) linkdump. Many apologies about that. As a means of apology, please enjoy this cat.

cat

Now that that's over with...to the links!

  • We launched TruCoin RT this week to great fanfare.
  • David sent a list of...
Keep on reading ›

Let's say you have a JRuby app running on an EC2 server and you want to connect to it remotely with VisualVM.

You might end up with an init script that looks like the following. This is just here for posterity's sake :) Hope some internet traveller...

Keep on reading ›

HollaBack is now at version 0.1.0. This minor release is for sending a status method with paramters. The README.md now includes the synopsis for sending methods with parameters...

Synopsis

Synopsis for sending a method with parameters (the all...

Keep on reading ›

I wrote a little gem today that will standardize your way of gettinggood responses back from your objects in Ruby. I called it HollaBack. The gem can be configured with extra options forcustom status messages, and methods that will be ran so that...

Keep on reading ›

First things first:

lion...

Keep on reading ›

Having problems with SSL? OpenSSL's s_client is your friend. Here's anexample session:

$ openssl s_client -connect trucoinrt.com:443CONNECTED(00000003)140406648305344:error:140770FC:SSL

routines:SSL23_GET_SERVER_HELLO:unknown...

Keep on reading ›

After reading a great article on Sandi Metz' rules for developers. I thought I'ddo a generalized example on the Facade Pattern that was used tosolve the "Only instantiate one object in the controller" rule.

Generalization

The goal of the Facade...

Keep on reading ›
The default blog header image is JTAG board 3 by Andrew Magill.