anchor.diff:        <td>
   	<%= render :partial => "doc/inner_parameters", :locals => { :parameters => parameter.to_a[0][1] } %>
         </td>
  -      <%else%>
  +      <% else %>
           <th><%= parameter.to_a[0][0] %></th>
           <td><%= parameter.to_a[0][1]%></td>
  -      <%end%>
  +      <% end %>
         
       </tr>
     <% end %>
     </table>
   <% end %>
   
  -<% if returns && returns.size > 0 %>
  +<% if defined?(returns) && returns.size > 0 %>
   
   <h4>Return Codes</h4>
   <table>
  
positive.code: </table>
  <% end %>
  
  <% if error_messages && error_messages.size > 0 %>
  
  <h4>Error messages</h4>
  <table>
  
negative.code:   <%= description %>
  </p>
  
  <% if defined?(parameters) && parameters.size > 0 %>
  <h4>Parameters</h4>
    <table>
    <% parameters.each do |parameter| %>
  