ontola / active_response Goto Github PK
View Code? Open in Web Editor NEWDRY your controllers and make your API more predictable by defining responders for different formats. E.g. Posting an invalid resource in HTML should render a form with errors, while in JSON you expect serialized errors.
License: MIT License