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

Popular posts from this blog

css - SVG using textPath a symbol not rendering in Firefox -

Java 8 + Maven Javadoc plugin: Error fetching URL -

order - Notification for user in user account opencart -