Ruby on Rails

Rails Production Deployment With Site5 (Screencast)

Published on Wednesday, March 31st, 2010 in Ruby on Rails with 7 Comments

Learn how to deploy your Rails (2.3.5) application with Site5 shared hosting. I put together this screencast to help anyone who found the Site5 documentation to be lacking. A little rough around the edges, but still useful if you're new.

Multiple File Uploads With Paperclip (Screencast)

Published on Saturday, May 15th, 2010 in Ruby on Rails with 38 Comments

Learn how to get multiple file uploads working smoothly with Paperclip & Rails. This is something that can be a little tricky if you haven't done it before, so I thought a screencast would be a helpful resource.

Ajax Validations with Rails and jQuery (Screencast)

Published on Sunday, June 27th, 2010 in Ruby on Rails with 12 Comments

Ajax validations are a great way to improve the user experience of your site. This screencast walks through the basic steps required to get a nice validation setup working with Rails 2.3.8 and jQuery. This technique is especially useful for validations that require server-side checks, like ensuring a value is unique.

Rails 3 "error_messages_for" Replacement

Published on Tuesday, June 29th, 2010 in Ruby on Rails with 13 Comments

Rails 3 has done away with the ever so useful "error_messages_for" form helper. As this was something I used quite often, I wanted to find a reasonable replacement quickly.

Now Running on Rails 3.0.3

Published on Monday, November 22nd, 2010 in Ruby on Rails with 1 Comment

While it's finally happened. I've deployed my first production Rails 3 application. This website is now running on Rails 3.0.3.

Multiple File Uploads with Paperclip & Rails 3 (Screencast)

Published on Monday, February 7th, 2011 in Ruby on Rails with 18 Comments

This all new screencast walks through the process of getting Rails 3 setup with Paperclip from scratch.

Link to File with Extension in Rails 3

Published on Sunday, April 10th, 2011 in Ruby on Rails with 0 Comments

A quick tip and code example that explains how to link to a file using the Rails 3 router. Helpful when using a controller to serve files.

Rails 3.1 Application Wide Variables

Published on Thursday, November 3rd, 2011 in Ruby on Rails with 2 Comments

A common task I've had while building Rails applications is to have some type of application wide object where I can easily store configuration variables.

Unit Testing Paperclip

Published on Thursday, June 14th, 2012 in Ruby on Rails with 0 Comments

Just a quick post that explains how to handle unit tests for Paperclip uploads.