ironWorker not inserting to my database

How to connect iron.io to my UserController.php? Im using app/views.

My code in app/views/iron/hello_worker.php

    <?php
    // Worker code can be anything you want.
    echo "Starting HelloWorker at ".date('r')."\n";
    echo "payload:";
    $payload = getPayload();
    print_r($payload);

    $test = new Tests;
    $test->content = "iron.io testing";
    $test->save(); 


    for ($i = 1; $i <= 5; $i++) {
        echo "Sleep $i\n";
        sleep(1);
    }
    echo "HelloWorker completed at ".date('r');
   ?>

I have made it work, but it has error in iron.io dashboard PHP Fatal error: Class 'Tests' not found in /mnt/task/hello_worker.php on line 8


ANSWERS:


Do you upload 1 file or entire project? You have to upload entire project. Also take a look at this packet.



 MORE:


 ? Pingdom REST API from Classic ASP
 ? Pingdom monitoring tool detecting HTTP 302 Found responses intermittently
 ? use pingdom to monitor soap service
 ? How can I use the Pingdom API to pause and resume checks from bash?
 ? How do I create an uptime alert in pingdom without hardcoding the query parameters in http request?
 ? High wait time on pingdom tools
 ? Pingdom API create check via curl
 ? Remove the following redirect chain if possible
 ? Pausing a Pingdom check via the Pingdom API using curl (BASH)
 ? Printing the URL from Pingdom using Perl