I keep getting this error when trying to loop through the jobs i have , here is the code :
- @jobs.each do |job| %h2= job.title %p= job.company