We wanted to automatically create a grayscale version of the uploaded images for a current project. Here’s the Paperclip processor we’re using:
We wanted to automatically create a grayscale version of the uploaded images for a current project. Here’s the Paperclip processor we’re using:
Just a quick note that RailsTerm, my AppleScript to automatically open the tabs (in OS X 10.5 Terminal) needed for Rails development), is bumped to version 0.3. Since I use Passenger (mod_rails) and Passenger.prefpane for my local development the script will now auto detect the virtual hosts available on your system (in /etc/apache2/passenger_pane_vhosts/*.vhost.conf). I use [...]
I’m quite happy with my Terminal.app setup right now for the Rails projects I’m working on and wanted to share the bits and pieces I use. First, I found a SIMB plugin for Terminal that’ll show the tab’s title in the tab instead of the running process. I use the plugin with a simple title [...]
This is the script I’m using when I start my local Rails development server. It will automatically detect the next available port starting at the default port 3000 so I can have multiple servers running without remembering what ports that are already busy. #!/usr/bin/env ruby DEFAULT_PORT = 3000 puts (`ps aux | grep [r]uby | [...]
Tired of see the the soooo 1999-ish font “Verdana” every time you get a local error page in Rails? Now you don’t have to. With this plugin the error pages will use Arial or Helvetica instead—finally! To install: ./script/plugin install http://burnfield.com/svn/martin/rails/plugins/verdano or as svn:external: ./script/plugin install -x http://burnfield.com/svn/martin/rails/plugins/verdano I’ve moved to git so the new [...]
Update: This script is ported (and improved) to work with OSX Leopards’ Terminal.app. I never really liked iTerm because of slow redrawing, ugly text anti aliasing and not reflowing text when resizing the window. After reading some interviews on a Rails site today and saw that a lot of people are using iTerm i wanted [...]