0
<div id="error_explanation">
<h2><%= pluralize(@user.errors.count, "error") %> prohibited this user from being saved:</h2>
<ul>
<% @user.errors.full_messages.each do |msg| %>
<li><%= msg %></li>
<% end %>
</ul>
</div>
MassAssignmentSecurity ::錯誤在UsersController#更新
<%= f.label :name %><br />
<%= f.text_field :name %>
<%= f.label :email %><br />
<%= f.text_field :email %>
<%= f.label :password %><br />
<%= f.text_field :password %>
<%= f.label :confirm_password %><br />
<%= f.text_field :confirm_password %>
<%= f.submit %>
我被stucked了....
我覺得這是你所要求的代碼.....
請通過此讓我知道,如果任何修正需要進行...
謝謝