You just have a small syntax error in your SQL. The column list for an INSERT should be comma delimited:
INSERT INTO index1 (name, tagline, blurb, photo_url) ...
^ ^ ^
so your Ruby should look like this:
5.times do
db.execute('INSERT INTO index1 (name, tagline, blurb, photo_url) VALUES (?, ?, ?, ?)', ["name", "tagline", "blurb", "photo"])
end
See the "column-name" loop in the SQLite INSERT syntax diagram: