Hello,
I’m new to Ruby. The password reset button no longer works after we
rebooted the server. I get a message we’re sorry but something went
wrong. I’m not sure how to resolve this issue.
Here’s the code from user_password/new.html.erb
Reset Your Password
<%= t(:instructions_to_reset_password) %>
<%= form_for(User.new, :as => :user, :url =>
user_password_path, :html => {:class => “login_form”}) do |f| %>
<% if @user.errors.any? %>
<%= pluralize(@user.errors.count, “error”) %> prohibited
this contact from being saved:
<ul>
<% @user.errors.full_messages.each do |msg| %>
<li><%= msg %></li>
<% end %>
</ul>
</div>
<% end %>
<p>
<label><%= t(:email) %>:</label><br />
<%= f.email_field :email %>
</p>
<%= submit_tag "Reset Password", :class => 'button primary' %>
<% end %>