The following section describes the steps we will be taking to create the mashup. The basic steps are:
1. Create a Rails application
2. Set up the database
3. Create the Payment and Claim Item scaffolds
4. Modify Payment and create its subclasses
5. Create the Google API access library
6. Create the Manager class and its controller and views
7. Create the expense claims parsing rake script
8. Create the mass payment rake script
9. Modify the Payment and Claim Item controllers
We begin this mashup as before by creating the usual Rails application.
$rails Chapter8
This will create a new Ruby on Rails application. We will not be using most of its interface but will be running the rake scripts located in the $RAILS_ROOT/lib/tasks
folder. Running the scripts should be automated at a regular interval.