training in rails3