Re:Why critics of Rails have it all wrong (and Ruby's bright...
by planetmcd on Thursday September 13, 2012 @12:11PM
(#4516946)
I really enjoy Sinatra and am indeed using it for REST style API hosting, but the counter argument might be all the security stuff that is built into the Rails routes/controllers. this might be a great case for a stripped down rails app as opposed to a Sinatra app.
[ Parent
| on HN ]
Re:Why critics of Rails have it all wrong (and Ruby's bright...
by jeltz on Thursday September 13, 2012 @12:35PM
(#4517096)
I thought most of the security in Rails is provided by the rack-security middleware? Or am I forgetting something which Rails provides here?
Re:Why critics of Rails have it all wrong (and Ruby's bright...
by dcu on Thursday September 13, 2012 @05:50PM
(#4518831)
Escaping everything by default to avoid XSS attacks. that's a nice feature to have.
Re:Why critics of Rails have it all wrong (and Ruby's bright...
by auxbuss on Thursday September 13, 2012 @06:36PM
(#4519016)
This can be done in Sinatra: http://www.sinatrarb.com/faq.html#auto_escape_html