Christopher Phillips10,054 Points
Error out when including question mark in title
Suppose this app was a blog and we had the title including a question mark. How would we get around the error that accompanies this specific code? I'm honestly not even sure why it's erroring out. I'm sure it's more for an advanced course but I'm curious.
Jay McGavrenTreehouse Teacher
You'd probably use a database instead of individual files. :) A question mark isn't valid for use in file names on most OSes. We stored data in files for this course because we didn't want to make people figure out Sinatra and databases at the same time, but Rails and most serious Sinatra apps use databases for speed, and for reasons like this.