ruby - How do I fix this annoying syntastic rails error -
i have following code in rails
<% @post.errors.full_messages.each |msg| %> <li><%= msg %></li> <% end %>
syntasticcheck vim plug in keeps displaying error
app/views/posts/new.html.erb[syntax: line:12 (1)]
1 app/views/posts/new.html.erb|12 warning| possibly useless use of variable in void context
if want not see these messages again:
let g:syntastic_eruby_ruby_quiet_messages = \ {'regex': 'possibly useless use of variable in void context'}
Comments
Post a Comment