Srilanka live cam - Ruby on rails dating site


ruby on rails dating site-54

The controller might then pass some subset of the flight data to the corresponding view, which would contain a mixture of static HTML and logic that use the flight data to create an HTML document containing a table with one row per flight. In Ruby on Rails, an action is typically a basic unit that describes how to respond to a specific external web-browser request.

Also, note that the controller/action will be accessible for external web requests only if a corresponding route is mapped to it.

A view in the default configuration of Rails is an erb file, which is evaluated and converted to HTML at run-time.

Alternatively, many other templating systems can be used for views.

Mongrel was generally preferred but it can also run on Lighttpd, Apache, Cherokee, Hiawatha, Nginx (either as a module – Phusion Passenger for example – or via CGI, Fast CGI or mod_ruby), and many others.