Minor improvements to play with rails