Please go to http://rails-bestpractices.com to see more useful Rails Best Practices.
<% if @errors.empty? %> No error found. Cool! <% else %> Found <%= @errors.size %> warnings. <% end %>
Filename | Line Number | Warning Message | <% if @git %>Git Commit | Git Username | <% end %>
---|---|---|---|---|
<% if @textmate %> <%= error.filename %> <% elsif @mvim %> <%= error.filename %> <% else %> <%= error.filename %> <% end %> | <%= error.line_number %> | <% if @git %><%= error.git_commit %> | <%= error.git_username %> | <% end %>