title: Rails RABL respond_with error template
body: <p>Using RABL in Rails 3.2.x, given the following controller action:</p>
  
  <pre><code>respond_to :html, :json
  
  def create
    @foo = Foo.create(params[:foo])
    respond_with @foo
  end
  </code></pre>
  
  <p>Assuming the validation fails, how do you get respond_with to use a RABL template instead of the standard JSON hash of errors -- IE. I would like other model attributes besides the validation error message sent back along with the request.</p>
  
  <p>Suggestions?</p>