Non-Rails Forms & Validation

Hi folks.

I’m not into Rails. I want to avoid it until it’s evident I need it.
So I’m in Sinatra and want to know how to best to do two things. I come
from another language where I roll my own solutions, but want to ask out
in the public about how these are generally tackled best-practice.

  1. Receiving Forms. Basically what methods to use for POSTs.

  2. Form validation. I couldn’t find a popular gem for that. It’s odd
    that there doesn’t seem to be anything outside of Rails to handle
    something like this.

Would appreciate any input on this.


Hi there. Thanks for the reply.

OK that’s for Ruby objects, not form submission validations.