Report question

Question: Rails 3: How to return errors in a JSON request?