Entries now written to the database without issue, need to pretty-fy and finish the instructor piece

The code I used to make your entry case insensitive with Ruby at the terminal is not working with Sinatra. Why is this?