A way to clean this up would be to:

1. Move this to `post /relationships/:relationship_id/confirm`. This allows you to do a single query to load the relationship.
2. Ensure the logged in user is allowed to confirm the relationship
3. Confirm the relationship

pseudocode would look like:
`
post '/relationships/:relationship_id/confirm' do
  # Because User has_many  :followed_relationships, you can scope the query down to only their relationships by calling find on the relation instead of using the Relationship class directly.
  relationship = current_user.followed_relationships.find(params[:relationship_id])
  if relationship
    relationship.confirm!
    flash[:notice] = "You've confirmed #{relationship.follower.name} can follow you!"
    redirect_to '/'
  else
    'LOL YOU CAN'T DO THAT'
  end

end
`