Displaying 1 result from an estimated 1 matches for "chapterid".
Did you mean:
chapter&id
2006 Feb 10
2
Sudden Strange Webrick Error: Errno::ECONNABORTED
...ppening
without problem. The response though, is this error:
Errno::ECONNABORTED
An established connection was aborted by the software in your host
machine. - connect(2)
Here is the controller method:
def save_review
review = Review.new(params[:review])
@chapter = Chapter.find(params[:chapterid])
@chapter.reviews << review
review.story_id = @chapter.story_id
if review.save
ReviewAlerts.deliver_alert_author(@chapter.story.user,
@chapter.story, review)
flash[:Ajax] = "Review Successfully Submited"
render :partial => ''options''...