practice for rails4 in action