title: Meteor: Forcing rerendering whole template after collection update with Blaze
body: <p>I have a template in which the DOM is changed, and I would like to rerender the template when saving to database. Before Blaze, Meteor would have rerendered the whole template if there was a reactive variable somewhere in the template, but now how can I do this ?</p>
  
  <p>I have a collection of <em>clips</em> set up in an Iron router route :</p>
  
  <pre><code>ClipsController = RouteController.extend({
      data: function() {
        clips = Clips.find({}, {sort: {created: 1}});
        return {clips: clips};
      }
  });
  </code></pre>
  
  <p>And a template for <em>clips</em> :</p>
  
  <pre><code>&lt;template name="clips"&gt;
    {{#each clips}}
      {{&gt; clip}}
    {{/each}}
  &lt;/template&gt;
  </code></pre>
  
  <p>Then, I have a template for <em>clip</em> :</p>
  
  <pre><code>&lt;template name="clip"&gt;
    &lt;article class="clip" id="{{_id}}"&gt;
      {{{content}}}
      &lt;ul class="tags"&gt;
        {{#each tags}}
          &lt;li&gt;&lt;a href="/#{{this}}"&gt;#{{this}}&lt;/a&gt;&lt;/li&gt;
        {{/each}}
      &lt;/ul&gt;
    &lt;/article&gt;
  &lt;/template&gt;
  </code></pre>
  
  <p>And a script for this template which changes the DOM and then saves the <em>clip</em> :</p>
  
  <pre><code>Template.clip.events({
    'click .edit': function(event, template) {
      template.$('.tags li').each(function() {
        $(this).text($(this).text().replace(/^#(.*)/, "$1"));
      });
    },
  
    'click .save': function(event, template) {
      var data = {
        //...
      };
  
      Clips.update({_id: this._id}, data);
  
      // How to rerender the template ?
    }
  });
  </code></pre>