understanding response for update method
apneadiving opened this issue · 1 comments
apneadiving commented
Hi again,
In my update
method, I have:
@project.update_attributes(params[:project])
respond_with @project, :api_template => template
My specs pass on statuses for valid and error cases.
But the response body is empty when update went well. Why? (I'd expect the object to be returned)
apneadiving commented
It appears to be the default Rails behavior...
Sorry for false alert.