E.g. :ok over 200 (or viceversa) for HTTP responses.
Advantages and disadvantages, pros and cons, etc. of using symbols instead of codes (or viceversa) are welcome.
E.g. :ok over 200 (or viceversa) for HTTP responses.
Advantages and disadvantages, pros and cons, etc. of using symbols instead of codes (or viceversa) are welcome.
documentationmentions that Rails understands both numeric status codes and the written symbols, but does not address a preference.