Skip to content

Commit

Permalink
Removed unnecessary #to_i call that was causing a problem for some users
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew committed Mar 28, 2008
1 parent 1147b40 commit 94d1894
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/relationships/show_views/_enumeration.rhtml
@@ -1,3 +1,3 @@
<% value = item.send(relationship.name).to_i -%>
<% value = item.send(relationship.name) -%>
<% key_value_pair = relationship.enumeration_key_for(value) -%>
<%= key_value_pair ? key_value_pair.first : relationship.unassigned_value %>

0 comments on commit 94d1894

Please sign in to comment.