I'm writing an app that will be mostly UI calling a backend server via AJAX. Very little page loads. So for example, when I create a trip, my JS simply sends a JSON object to Padrino (via a POST) and Padrino saves the trip object (via ActiveRecord) and returns a JSON response. It seems to work but I want to not only clean up the code, but I want to sanitize the submitted values. Here is my POST co
{{#tags}}- {{label}}
{{/tags}}