title: Post is being deleted when I delete Comment
body: <p>When I delete my comments, my posts are deleted as well here is my MVC:</p>
  
  <p>Views (in _comments.html.erb)</p>
  
  <pre><code> &lt;%= div_for(comment) do %&gt;
      &lt;div class="comments_wrapper clearfix"&gt;
          &lt;div class="pull-left"&gt;
              &lt;p class="lead"&gt;&lt;%= comment.body %&gt;&lt;/p&gt;
              &lt;p&gt;&lt;small&gt;Submitted &lt;strong&gt;&lt;%= time_ago_in_words(comment.created_at) %&gt; ago&lt;/strong&gt; by &lt;%= comment.user.email %&gt;&lt;/small&gt;&lt;/p&gt;
          &lt;/div&gt;
  
          &lt;div class="btn-group pull-right"&gt;
              &lt;% if comment.user == current_user -%&gt;
                  &lt;%= link_to 'Destroy', @comment, method: :delete, data: { confirm: 'Are you sure?' }, class: "btn btn-sm btn-default" %&gt;
              &lt;% end %&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;% end %&gt;
  </code></pre>
  
  <p>Models:</p>
  
  <pre><code>class Comment &lt; ActiveRecord::Base
    belongs_to :user
    belongs_to :post
  end
  
  class Post &lt; ActiveRecord::Base
      belongs_to :user
      has_many :comments, dependent: :destroy
  end
  
  class User &lt; ActiveRecord::Base
    has_many :posts
    has_many :comments
  end
  </code></pre>
  
  <p>Controller</p>
  
  <pre><code>def create
      @post = Post.find(params[:post_id])
      @comment = @post.comments.new(comment_params)
      @comment.user = current_user
  
     respond_to do |format|
       if @comment.save
          format.html { redirect_to @post, notice: 'Comment was successfully created.' }
          format.json { render :show, status: :created, location: @comment }
       else
          format.html { render :new }
          format.json { render json: @comment.errors, status: :unprocessable_entity }
       end
     end
   end
  
    def destroy
      @post = Post.find params[:post_id]
      @comment = @post.comments.find params[:id]
      @comment.destroy
      redirect_to post_path(@post)
    end
  </code></pre>
  
  <p>Routes</p>
  
  <pre><code>resources :post do
     resources :comments
  end
  </code></pre>
  
  <p>When I delete a comment I even get a flash notice:</p>
  
  <blockquote>
    <p>your post has been deleted</p>
  </blockquote>
  
  <p>which resides in the post controller...</p>