Playing all the wrong notes and making them sound right.

Text

If you are trying to test a model with that has a Carrierwave uploader mounted, validations on the field, and you’re using FactoryGirl, you are more than likely goin to get an error thank looks something like this…

/path/to/your/ruby/gems/activerecord-3.2.3/lib/active_record/validations.rb:56:in `save!': Validation failed: Logo can't be blank (ActiveRecord::RecordInvalid)

Fortunately, getting around this error is pretty easy. You can beat in there steps

  1. Drop a test image file somewhere in the app folder. I put mine in test/fixtures/files.
  2. Put
    include ActionDispatch::TestProcess
    in the top of the factory file for the model you are testing.
  3. Update the uploader field in your factory to use fixture_file_upload method and pass it in a hash with your test image info. It should look like this…
    logo {fixture_file_upload('test/fixtures/files/test_image.jpg', 'image/jpg')}

Run those test again, you should be all set.

There is nothing worth sharing like the love that let us share our name.

There is nothing worth sharing like the love that let us share our name.

I can’t say enough about my love for this song or this performance. Perfect harmonies. Incredible feel. And I really like how the frame rate of the video makes the low E string wiggle.

Text

The studio’s sixty-four-channel professional mixing board, with its vast array of knobs and lights, which was installed when Roc the Mic Studios was constructed, only five years ago, sat idle, a relic of another age.

via newyorker.com

This is the saddest article about the current state of music I have ever read. If you love music, grab a box of tissues, read this article, then go see some live music. Even if it’s the crappy local band at that shitty bar you avoid. Hear the wrong notes. Relish the right ones. Give the guitar player a high-five and hug the drummer. Better yet, go buy an instrument and teach yourself how to play your favorite song.

I’m too heartbroken to write more….

JUMPER!

JUMPER!

Late night recording with the iPad. Trying to capture some ideas.

Late night recording with the iPad. Trying to capture some ideas.

She fell asleep holding my hand.

She fell asleep holding my hand.

Dapper

Dapper

HI!

HI!

Thanks for the incredible night @mutemath! (Taken with instagram)

Thanks for the incredible night @mutemath! (Taken with instagram)