Rails 4

Flip,

I've gone ahead and refactored the specs and made a few minor changes that were necessary for Rails 4 and Ruby 2 compatibility. Let me know what you think.

Best,

Timothy