Sha256: b38a72f3ac46063d0a6db522c52a3b8a278ed5bbd7bc5ae0a2cc7b4fab1ec984
Contents?: true
Size: 1.65 KB
Versions: 12
Compression:
Stored size: 1.65 KB
Contents
!!! %html %head %meta{:charset => "UTF-8"} %title Output of rails_best_practices :css body { color: #333; background: #eee; padding: 0 20px; } h1 { color: ##4E4E4E; } table { background: white; border: 1px solid #666; border-collapse: collapse; margin: 20px 0; font-size: 14px; } table th, table td { padding: 4px; border: 1px solid #D0D0D0; } table th { background-color: #DFC; color: #337022; } table td.filename { color: #ED1556; } table tr:hover { background-color: #FFFFC0; } %body %h1 rails_best_practices output %h2 Please go to %a{:href=>"http://rails-bestpractices.com", :target=>"_blank"} http://rails-bestpractices.com to see more useful Rails Best Practices. %h2 - if errors.empty? No error found. Cool! - else Found #{errors.size} errors. %table %tr %th Filename %th Line Number %th Error Message - errors.each do |error| %tr %td.filename - if textmate %a{:href=>"txmt://open/?url=file://#{File.expand_path(error.filename)}&line=#{error.line_number}"}= error.filename - elsif mvim %a{:href=>"mvim://open/?url=file://#{File.expand_path(error.filename)}&line=#{error.line_number}"}= error.filename - else = error.filename %td.line-number= error.line_number %td.message %a{:href=>"#{error.url}", :target=>"_blank"}= error.message
Version data entries
12 entries across 12 versions & 2 rubygems