fiddler-crabs-2014/Rant-Overflow — pull request #15 by tihuan (2014-05-16 01:21:36+00:00)
Title: Features/create response

In order for partial response form to work

1. Update rants_controller#show as follows:

```
def show #get particular rant
@rant = Rant.find(params[:id])
@responses = @rant.responses
@response = @rant.responses.build
end
```

2. Add the following code to rants/show.html.erb:

```

<%= render 'responses/form', rant: @rant, response: @response %>

```