Your code looks okay, are you sure you have correct database info in your /app/config/database.php ? Be sure your table has name "jobs" not "job".
nipid is right you either change your class name to Jobs or you define a custom table name with the table property like so:
class Job extends Eloquent {
protected $table = 'jobs';
}
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community