On Nov 10, 6:33 pm, yatta20
<yatt...-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org>
wrote:> 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.
>
You should start by looking at your applications log file and seeing
where exactly the problem is occurring.
Fred
> Here''s the code from user_password/new.html.erb
> <div id="existing-customer">
> <h1>Reset Your Password</h1>
>
> <p><%= t(:instructions_to_reset_password) %></p>
>
> <%= form_for(User.new, :as => :user, :url =>
> user_password_path, :html => {:class => "login_form"}) do
|f| %>
> <% if @user.errors.any? %>
> <div id="error_explanation">
> <h2><%= pluralize(@user.errors.count,
"error") %> prohibited
> this contact from being saved:</h2>
>
> <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 %>
> </div>
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.