Update versions of rails and data-kitten

Also fix a couple of bugs raised by latest data-kitten.