Ruby based implementation of Rails' basic functionality