rails s -e production
la pagina esta bloqueada
=> Booting Puma
=> Rails 5.1.4 application starting in production
=> Run `rails server -h` for more startup options
Puma starting in single mode...
* Version 3.10.0 (ruby 2.3.1-p112), codename: Russell's Teapot
* Min threads: 5, max threads: 5
* Environment: production
* Listening on tcp://0.0.0.0:3000
Use Ctrl-C to stop
production.log
F, [2017-11-17T13:25:39.813807 #18778] FATAL -- : [46e13b8b-08ba-47cb-8bd4-7c0a20096d3a]
F, [2017-11-17T13:25:39.813856 #18778] FATAL -- : [46e13b8b-08ba-47cb-8bd4-7c0a20096d3a]
ActionView::Template::Error (Access denied for user 'root'@'localhost' (using password: NO)):
F, [2017-11-17T13:25:39.814028 #18778] FATAL -- : [46e13b8b-08ba-47cb-8bd4-7c0a20096d3a] 54:
[46e13b8b-08ba-47cb-8bd4-7c0a20096d3a] 55:
[46e13b8b-08ba-47cb-8bd4-7c0a20096d3a] 56: <div class="panel-body">
[46e13b8b-08ba-47cb-8bd4-7c0a20096d3a] 57: <%= form_for(resource, as: resource_name, url: session_path(resource_name), html: { role: "form" }) do |f| %>
[46e13b8b-08ba-47cb-8bd4-7c0a20096d3a] 58: <div class="form-group">
[46e13b8b-08ba-47cb-8bd4-7c0a20096d3a] 59: <center>
[46e13b8b-08ba-47cb-8bd4-7c0a20096d3a] 60: <span class="glyphicon glyphicon-user"></span>
F, [2017-11-17T13:25:39.814077 #18778] FATAL -- : [46e13b8b-08ba-47cb-8bd4-7c0a20096d3a]
F, [2017-11-17T13:25:39.814116 #18778] FATAL -- : [46e13b8b-08ba-47cb-8bd4-7c0a20096d3a] app/helpers/users_helper.rb:7:in `resource'
[46e13b8b-08ba-47cb-8bd4-7c0a20096d3a] app/views/layouts/_navigation.html.erb:57:in `_app_views_layouts__navigation_html_erb__231458829_92193820'
[46e13b8b-08ba-47cb-8bd4-7c0a20096d3a] app/views/layouts/application.html.erb:24:in `_app_views_layouts_application_html_erb___506764122_92229900'
app/views/layouts/_navigation.html.erb:57 app/views/layouts/application.html.erb:24
<body>
<% if user_signed_in? %>
<header>
<%= render 'layouts/navigation' %>
</header>
<main role="main">
<%= render 'layouts/messages' %>
<%= yield %>
</main>
<% else %>
<header>
<%= render 'layouts/navigation' %>
</header>
<main role="main">
<%= render 'layouts/messages' %>
<%= yield %>
</main>
<% end %>
</body>