Notes for working with rails