Last active
March 17, 2017 15:25
-
-
Save ChasManRors/f98b58cdf8ae9168d557790c169c2d05 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From: /Users/cmagid/projects/vmm/app/views/notifier/bad_lines_notice.html.erb @ line 22 ActionView::CompiledTemplates#_app_views_notifier_bad_lines_notice_html_erb___1161504312611135632_70189716521000: | |
17: | |
18: <% line.violations.each do |v| %> | |
19: <tr> | |
20: <td><%= line.line_number %></td> | |
21: <td><%= line.line %></td> | |
=> 22: <td><%= v.first.try :violation if v.is_a? Array %></td> | |
23: <td><%= v.first.try :violation_description if v.is_a? Array %></td> | |
24: </tr> | |
25: <% end %> | |
26: <% end %> | |
27: | |
[0G[26] pry(#<#<Class:0x007faca23ca9f0>>)> v.first.try :violation if v.is_a? Array | |
=> "Invalid CSV Quotes" | |
[27] pry(#<#<Class:0x007faca23ca9f0>>)> v.first.try :violation_description if v.is_a? Array | |
=> "The line contains missing, unbalanced, or misaligned quotation marks" | |
[28] pry(#<#<Class:0x007faca23ca9f0>>)> line.line_number | |
=> 40 | |
[29] pry(#<#<Class:0x007faca23ca9f0>>)> line.line | |
=> "\"Y\",\"BigBox\",\"WMOSCYD171\",\"\"LAOSCYD\"\",\"\",\"Cydcor LLC\",\"\",\"Walmart\",\"4623\",\"20150612\",\"Open\",\"\",\"VA WM 4623-6111 Jefferson Ave\",\"6111 JEFFERSON AVE\",\"\",\"Newport News\",\"VA\",\"23605\",\"\",\"\",\"VA\",\"Mid Atlantic\",\"Potomac\",\"Does Not Apply\",\"NORFOLK-PORTSMTH-NEWPT NWS\",\"Agnes Burkhart\",\"Martin Plank\",\"Derrick Workman\",\"\",\"\",\"Colleen Buck\",\"\",\"\",\"Catalyst Leadership Group Inc. - Colleen Buck\",\"27 West Queens Way Suite 204\",\"Hampton\",\"VA\",\"23669\",\"\",\"N\",\"\",\"\",\"\",\"N\",\"N\",\"Consumer FiOS Internet|Consumer FiOS TV|Consumer High Speed Internet\",\"N\",\"FiOS National\",\"N\",\"N/A\",\"N/A\",\"N/A\",\"Collateral Only\",\"Hampton Roads VA\",\"N\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"0\",\"\",\"\",\"\",\"\",\"\",\"0\",\"0\",\"0\",\"\",\"\",\"\",\"0\",\"0\",\"0\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"\",\"0\",\"0\",\"0\",\"0\",\"0\",\"English\",\"\"\r\n" | |
[30] pry(#<#<Class:0x007faca23ca9f0>>)> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment