Patrick Bacon

Run Tests From MacVim via Terminal.app or iTerm.app


almost 6 years ago by Patrick Bacon on Atomic Spin.
For the past several weeks I have been using MacVim as my primary editor for Ruby coding. My workflow has been to edit some code, Command-Tab over to a...

Upload Files Directly to S3 with Plupload, Rails, and Paperclip


over 5 years ago by Patrick Bacon on Atomic Spin.
Plupload is an open source javascript upload handler that supports uploading files directly to Amazon S3. This is an alternative to uploading files to the...

libiconv problems with MAMP, PHP, and Ruby


over 5 years ago by Patrick Bacon on Atomic Spin.
This past week I was having some trouble with a PHP application that tries to shell out to an external Ruby script. The problem was only occuring on my...

Authentication and CouchDB


over 5 years ago by Patrick Bacon on Atomic Spin.
I needed to expose an internal CouchDB server to the outside world. When it was only accessible behind a firewall, it was not a big deal to throw an Admin...

Highlight strings in Cucumber features with Vim


over 5 years ago by Patrick Bacon on Atomic Spin.
I am currently working on a project that is using Cucumber for its system/integration testing, and I am using MacVim as my primary editor. MacVim comes...

Given I am signed in using capybara-webkit


over 5 years ago by Patrick Bacon on Atomic Spin.
Inspired by the blog post Capybara, Cucumber and How the Cookie Crumbles, I wanted to write a Cucumber step that signs a user directly into my application...

Learn Vim with Spaced Repetition


over 5 years ago by Patrick Bacon on Atomic Spin.
Last fall I started using Vim as my full-time text editor. Around that same time I came across a fascinating article from Wired titled Want to Remember...

These intermittent test failures will not stand, man


~5 years ago by Patrick Bacon on Atomic Spin.
I recently spent some time cleaning up a large test suite that had fallen into a bit of disrepair. The project was a Ruby on Rails web application being...

Safely parsing parameters from a Rails log


~5 years ago by Patrick Bacon on Atomic Spin.
The production logs for a Ruby on Rails application include the parameters that were part of each request. The parameters are displayed in the format of...

Getting Live Updates when Changing Stores in Ext JS


almost 5 years ago by Patrick Bacon on Atomic Spin.
My current project is a very interactive web application that makes heavy use of client-side JavaScript. The application is being developed with Sencha...