Trying out rails 4 examples as per "Rails Tutorials" by Micheal Hartl