jeudi 3 décembre 2020

SQLite3::SQLException: near "at": syntax error

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 

this exception the :"SQLite3::SQLException: near "at": syntax error" its not identifying the "-" at the beginning of the line. My file is a .html.haml file.

Aucun commentaire:

Enregistrer un commentaire