anchor.diff:        stop: function() {
           $(this).removeClass('dragging')
         },
  -      update: function() {
  +      update: function(event, ui) {
           var params = collect_portal_layout_params();
           $.post('<%= url_for :action => 'save_state' %>', params);
         }
  
positive.code:     <% end %>
  
      return {
        <% @portal.portal_column_count.times.each do |i| %>
          'portal[column_<%= i %>]': column_<%= i %>,
        <% end %>
  
negative.code:   }
  
    $(document).ready(function() {
      $('.gadgets').sortable({
        connectWith: '.gadgets',
        handle: 'div.title',
        start: function() {
  