Project

General

Profile

Actions

Defect #10077

closed

Error al intentar ver un usuario.

Added by Anderson Alvarez almost 13 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Accounts / authentication
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
No feedback
Affected version:

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

Actions

Also available in: Atom PDF