title: ActiveRecord::StatementInvalid in JobsController#create
body: <p>Having an issue here with jobs_controller.rb when I remove the Devise module from my job.rb model below:</p>
  
  <pre><code>class Job &lt; ActiveRecord::Base
  
  # Include default devise modules. Others available are:
  # :token_authenticatable, :confirmable,
  # :lockable, :timeoutable and :omniauthable
  
      devise  :database_authenticatable,
              :recoverable, :rememberable, :trackable, :validatable
  
  # Setup accessible (or protected) attributes for your model
  attr_accessible :contact_email, :contact_phone, :description, :district, :due_date, :expiration_date, :job_title, :posting_date, :requirements, :salary, :submission_process
  
  end
  </code></pre>
  
  <p>I then remove the Devise module, and arrive at the resulting model:</p>
  
  <pre><code>class Job &lt; ActiveRecord::Base
  
      # Setup accessible (or protected) attributes for your model
  attr_accessible :contact_email, :contact_phone, :description, :district, :due_date,       :expiration_date, :job_title, :posting_date, :requirements, :salary, :submission_process
  
  end
  </code></pre>
  
  <p>The thrown error when making this transition is displayed in the following trace:</p>
  
  <pre><code>ActiveRecord::StatementInvalid in JobsController#create
  
  SQLite3::ConstraintException: constraint failed: INSERT INTO "jobs" ("contact_email",     "contact_phone", "created_at", "current_sign_in_at", "current_sign_in_ip", "description", "district", "due_date", "email", "encrypted_password", "expiration_date", "job_title", "last_sign_in_at", "last_sign_in_ip", "posting_date", "remember_created_at", "requirements", "reset_password_sent_at", "reset_password_token", "salary", "sign_in_count", "submission_process", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
  
  app/controllers/jobs_controller.rb:49:in `block in create'
  app/controllers/jobs_controller.rb:48:in `create'
  </code></pre>
  
  <p>I have a user model as well as a job model, the application consists of a basic scaffold allowing users to post and view jobs, contingent upon proper authentication with Devise. I'm relatively new to proper back-end construction, and have more experience with front-end, view type Rails stuff. Im not sure if I need Devise present in the Job model, or only in the User model.</p>