Study rails4 and ruby2