Ruby on Rails. Sample application