Archive for 'Development'

Our Git Deployment Workflow

Like most Rails developers, we’re using git for source control. However, our first attempt at setting up a deployment system made a huge mess so we went looking for a better way.

Read more

Caching Images Using Attachment_Fu and Amazon S3

Caching images improves the user experience and reduces S3 costs.  It improves the user’s experience because web pages load quicker and it reduces S3 costs since you have fewer transfers.

Read more

iCal Exports for Multi-day Events

One critical feature for GoZuus is to ensure that data is available not just within the site, but also portable in usable formats.  One obvious use of this is the group calendar.  We’ve built a nice online calendar, but we’re not out to replace Google Calendar or iCal or your iPhone.  Cleanly exporting data in iCalendar format lets us feed data into whatever scheduling application our users choose to embrace, so that their GoZuus calendar works where they want it.

There’s plenty of resources online discussing how easy it is to use the Ruby Icalendar library.  However, just following those directions didn’t produce quite the results I was looking for when exporting multi-day events.  Using the directions from the previous links, Apple’s iCal app displayed every event as ending one day early.  And Google Calendar put “(12:00am?)” in front of the titles.  Not exactly seamless integration.  A quick Google search didn’t turn up anything useful, so hopefully this solution will save someone else some time.

Read more