Learning Rails by building a sample application