adding rails homework and lecture notes