ActiveBudget is an open source budgeting application. You can use it to track your cash flow and hours worked. Categorize your expenses and manage your time across a number of jobs.
ActiveBudget is Ruby on Rails. The project is managed at Google Code. There is a fully RESTful API. ActiveBudget is designed to be a learning tool for Rails developers.