for tutorial rails4