Comparison between CGI and Rails
===

I am using CGI for developing websites. Is there any added benefit Rails can provide over CGI?
Please point out the comparison between CGI and Rails?

Thanks in advance.