a ruby on rails application example