the way to study rails