title: Does the second boolean after && executes in rails?
body: <p>I'm still new to rails and lots of it is not what I'm used to. Couldn’t find my answer on this and don’t actually know what to search for so please help.</p>
  
  <p>Is this:</p>
  
  <pre><code>def create
      @note = Note.new(params[:note])
      @note.creator = current_user
      if member_of_project? @note.project_id
        if @note.save
          redirect_to @note, :notice =&gt; "Successfully created note."
        else
          render :action =&gt; 'new'
        end
      else
        render :action =&gt; 'new'
      end
    end
  </code></pre>
  
  <p>Equal to:</p>
  
  <pre><code>def create
      @note = Note.new(params[:note])
      @note.creator = current_user
      if member_of_project? @note.project_id &amp;&amp; @note.save
        redirect_to @note, :notice =&gt; "Successfully created note."
      else
        render :action =&gt; 'new'
      end
    end
  </code></pre>
  
  <p>???</p>
  
  <p>What I really want to know is if the second one will call <code>@note.save</code>.</p>