Ruby
What is a Web Application?
Posted December 21st, 2007 by administrator
This video gives a very basic introduction as how Web Application works. It provides a simple overview of the various components involved in a MVC(Model View Controller) architecture. Finally it shows how this concept applies to application development via Ruby on Rails.
Ruby Cheat Sheet Part 1 v1.0
Posted August 23rd, 2007 by administrator
Ruby Cheat Sheet Part 1.
Version 1.0

Ruby Mini Guide v1.0
Posted August 23rd, 2007 by administrator
Mini Guide v1.0 for Ruby Language. It based on ruby 1.8.4.
Clean up Rail Sessions
Posted August 16th, 2007 by administrator
By default rails does not clear out stale sessions from the session store. Depending on the configuration session can be stored in the local file system or the database.
Retrieve Page Contents via Http Get
Posted August 16th, 2007 by administrator
This script retrieves the content of url and dumps it to the output
Example copy this script into file named : get_page.rb
#!/usr/bin/ruby
require 'net/http'
host,port,url = ARGV
http = Net::HTTP.new(host, port)
STDERR.puts "url {#url}"
response, data = http.get(url)
puts data
Usage
ruby get_page.rb <host> <port> <url>
The url is specified as a relative path