benkoshy said 5 months ago on I'm a teapot :
How is one, practically, to implement all these response codes?

Wouldn't you need a massive case statement when returning a controller action? Does Rails handle most of the difficulties outside the box?

# pseudo-code
def controller_action
   case :succes
   case :other code

David Kimura PRO said 5 months ago on I'm a teapot :
I feel that the default conventions are sufficient in most cases. If something else is needed for a more unique use case then add just the one in.

Login to Comment