@@ -408,7 +408,7 module IssuesHelper | |||
|
408 | 408 | @detail_value_name_by_reflection ||= Hash.new do |hash, key| |
|
409 | 409 | association = Issue.reflect_on_association(key.first.to_sym) |
|
410 | 410 | if association |
|
411 |
record = association. |
|
|
411 | record = association.klass.find_by_id(key.last) | |
|
412 | 412 | if record |
|
413 | 413 | record.name.force_encoding('UTF-8') |
|
414 | 414 | hash[key] = record.name |
General Comments 0
You need to be logged in to leave comments.
Login now