I am trying to comment multiple lines in Rails 5 controller, I have searched the web and found the following solution: "=begin"
=begin (Multiple lines)
      respond_to do |format|
       if @person.update_attributes(params[:person])
        flash[:notice] = 'Person was successfully updated.'
        format.html { redirect_to(@person) }
        format.xml { head :ok }
       else
        format.html { render :action => "edit" }
        format.xml { render :xml => @person.errors, :status => :unprocessable_entity }
       end
      end
=end
But it gives this error:
syntax error, unexpected '=' =begin
I am using Rails 5.0.
 
     
     
     
     
     
    