use rails4 plugin