add review feature

create a review model which has belongs_to relationship with profile.
add attributes user_id, profile_id, comment and rating to review
create a review controller which creates and destroys a review

Assuming you have a new action, that gets the form, so when the review fails to post then you just re-render the form with the error message above it. i.e. render :new  instead of redirect_to root_url