Я получаю эту странную ошибку в моем приложении rails
Completed 500 Internal Server Error in 176742ms (ActiveRecord: 148.5ms)
ActionView::Template::Error (Mysql2::Error::ConnectionError: Wrong or unknown protocol: SELECT `lines`.* FROM `lines` WHERE `lines`.`id` = 15 LIMIT 1):
22: <% if defined?(Haml) && respond_to?(:block_is_haml?) && block_is_haml?(block) %>
23: <% capture_haml(day, sorted_events.fetch(day, []), &block) %>
24: <% else %>
25: <% block.call day, sorted_events.fetch(day, []) %>
26: <% end %>
27: <% end %>
28: <% end %>
app/views/presences/index.html.erb:47:in `block (2 levels) in _app_views_presences_index_html_erb__679688437_89682920'
app/views/presences/index.html.erb:7:in `each'
app/views/presences/index.html.erb:7:in `block in _app_views_presences_index_html_erb__679688437_89682920'
app/views/presences/index.html.erb:3:in `_app_views_presences_index_html_erb__679688437_89682920'
app / views / presentces / index. html .erb: 47:
<th style="background: greenyellow"><%= Line.find(l).name + " bla: " + tmp.size.to_s %></th>
Кто-нибудь знает, как чтобы исправить это или есть идея, почему появляется ошибка mysql? В своем коде передо мной я делаю несколько операторов выборки и обнаружения массивов. mysql запросов не так много ... И эта ошибка просто происходит в моей тестовой среде (копия рабочей среды на другой виртуальной машине). В моей среде разработки все работает как шарм.