Rails protocol