Sample_app in ruby