Quick hack till main repo doesn't support rails 4