What's the difference between respond_to and respond_with ? What do they do? Can anyone post example with the screenshot of output?

Thanks.

Edit
Report