an rails4 demo