OCaml + Ocsigen is just a web server with handy features to generate clean modern html. Rails on the other hand has an ORM plus the other libraires to make it a real web framework.
What is needed to make something a "real" web framework? Ocsigen/Eliom does
handle sessions, routing, page parameters, forms, continuation-based sites,
templating and other things you'd expect from a web framework. The main thing
Rails includes but Ocsigen/Eliom doesn't is an ORM.
OCaml + Ocsigen is just a web server with handy features to generate clean modern html. Rails on the other hand has an ORM plus the other libraires to make it a real web framework.