Author Archives: Darian Shimy

Capistrano – Deploying a Branch

When deploying from Capistrano, I like to have the following in my ‘deploy.rb’ file: set :scm, "git" set :repository, "git@www.example.com:project.git" set :git_shallow_clone, 1 set :deploy_via, :remote_cache This allows speeds deployments by keeping a versions checked out on the server in … Continue reading

Posted in Technology | Tagged , , , , | 2 Comments

Capistrano – Email on Deployment

It’s a good practice to send a notification to certain people when a new version is deployed. This process can easily be automated in Capistrano. Add the following file to the ‘lib’ directory with the filename ‘cap_mailer.rb’: 1 2 3 … Continue reading

Posted in Technology | Tagged , , | 1 Comment

Sprint Burndown Chart Template

Attached is a spreadsheet template for a Sprint Burndown Chart. Features: Color coding for the time estimate (green when estimate goes down and red when it goes up) Color coding for the status (In Progress, Done, and Impediment) Pace and … Continue reading

Posted in agile | Tagged , , , | 1 Comment

Capistrano – Install Gems Remotely

Capistrano does not have out-of-the-box support for installing gems on your servers. You may not need this if you are packing them, but some of us would like to run the equivalent of ‘rake gems:install’. To do this in capistrano, … Continue reading

Posted in Technology | Tagged , , , | Leave a comment

Capistrano – Adding Help to Deployments

If you don’t do something everyday, you tend to forget how to do it. The same is with the deployments. To help this, you can easily add a help section to Capistrano in your ‘config/deploy.rb’ file. Here is a sample: … Continue reading

Posted in Technology | Tagged , , | Leave a comment

Capistrano – Multiple Environments

Capistrano is designed to deploy your Rails application (yes it can handle others, but more work is required) to production.  However, most applications need to be deployed to more than one environment.  For example, we deploy to a staging environment … Continue reading

Posted in Technology | Tagged , , | Leave a comment

Google Wave Invite Users Still Waiting

It looks like people who were invited to Google Wave by other users (the ones that received the original invite from Google) are still waiting to get their invite.  If Google sent out 100,000 invites and each user could invite … Continue reading

Posted in Technology | Tagged , , | Leave a comment

Twitter Moderators?

Looking at the results from a trending topic in Twitter, I saw the following: Notice the description of the results, “Google Wave was released September 30, 2009. People are discussing it and begging for beta invites.”  I tried a few … Continue reading

Posted in Technology | 2 Comments

How to get invited to Google Wave

I got some more invites, if you want one, follow me on Twitter, retweet this post, and DM me your email address.  First-come, first-served. Update: 10/10 – I am out of invites. Update: 11/3 – I have 10 more invites, … Continue reading

Posted in Technology | Tagged , , | 22 Comments

InvalidAuthenticityToken Error in Rails

Working with a RESTful API in Rails can be a bit challenging at times.  One such problem is the ActionController::InvalidAuthenticityToken error.  This error is thrown when authenticity token is not present or invalid.  (This is how Rails protects itself from … Continue reading

Posted in Technology | Tagged , , , , | Leave a comment