for use with my rails tutorial examples