Defect #10077
closedError al intentar ver un usuario.
0%
Description
Al hacer click en cualquier usuario, me genera este error:
Showing app/views/users/show.rhtml where line #12 raised:
undefined method `visible?' for #<ActiveRecord::Associations::BelongsToAssociation:0xb00ae14>
Extracted source (around line #12):
9: <%# unless @user.pref.hide_mail >
10: <li><#=l(:field_mail)%>: <%= mail_to(h(@user.mail), nil, :encode => 'javascript') ></li>
11: <# end >
12: < @user.visible_custom_field_values.each do |custom_value| >
13: < if !custom_value.value.blank? >
14: <li><=h custom_value.custom_field.name%>: <%=h show_value(custom_value) ></li>
15: < end %>
RAILS_ROOT: c:/redmine/aigroup/airedmine
Updated by Anderson Alvarez over 12 years ago
Execute rake db:migrate RAILS_ENV="production" to solve the issue
Updated by Etienne Massip over 12 years ago
Please write in English (see SubmittingBugs).
Updated by Toshi MARUYAMA over 9 years ago
- Status changed from New to Closed
- Priority changed from High to Normal
- Resolution set to No feedback