sample_app tutorial for RAILS