Rails 4 basic stuff.

Change-Id: Ib8b1c5158031d3b4551bee681edc568ab57f8de8