explicit rails4 solution