Event Calendars in Rails

Aug 21, 2009

Build your own calendar with reoccurring events using ri_cal

First, a little context

The `RFC 2445` (iCalendar) spec has become a pseudo standard for internet scheduling. Google Calendars, Microsoft Outlook, and Apples iCal software all support rendering iC

read more..

Mongrel Falls Asleep

Jul 04, 2009

Windows, Mongrel, and an Apache proxy error!

Running a Rails application under Windows server is a far from the ideal deployment environment, but in some instances it must be done. In my case, a Windows 2003 box is the only server available to

read more..

Custom Ordering Using Named Scopes

Jun 02, 2009

Today we're going to solve the problem of implementing searching and sorting in an index view. By providing your users with an easy method of sorting and searching though their views you are increasi

read more..

Rails AJAX Response Refuses to Execute

May 28, 2009

check your response headers

I ran into an interesting problem today, all of my RJS calls refused to execute! Of course, In the end, it was entirely my fault. I had completed the AJAX DOM manipulation code, tested it for any mi

read more..

Rails Multi-Model Forms Tutorial

May 25, 2009

lets build some trains to go with our rails!

Today I've decided to take my best shot at explaining the Ruby on Rails multi-model form. This is an important skill for any Rails enthusiast to have a good grasp on, and is one that personally took

read more..

Migrating from a Legacy Datasource

May 01, 2009

Refactoring a project in Rails can be a handful, especially when the original database does not conform to Rails standards. Lately, I've found it much quicker to simply redesign the data model, and m

read more..

Has_Many :Through - Setting a type on the join table

Apr 21, 2009

fancy dancy many-to-many model associations!

I love Ruby! I've always loved Ruby, but today's discovery just reaffirms the validity of my devotion.

I may need to watch my words in the future. My girlfriend (like all girlfriends) doesn't like

read more..

Passenger with a Capistrano Deployment

Apr 16, 2009

Don't forget to chown!

Well, my blog as officially gone live, and it's kind of fitting that my first post has to do with deploying Ruby on Rails websites.

Ever received this error while deploying a Phusion Passenger

read more..