I have a resource that I am communicating with fine, but I am unable
to process certain elements, particularly elements with dashes in the
name such as "total-time".
I'm getting an error message of "undefined method `total' for #..."
here is my pertinent template code:
<%= @details.total-time %>
I'm researching this now but I cant find any past instances of it.
I have a resource that I am communicating with fine, but I am unable
to process certain elements, particularly elements with dashes in the
name such as "total-time".
I'm getting an error message of "undefined method `total' for #..."
here is my pertinent template code:
<%= @details.total-time %>
I'm researching this now but I cant find any past instances of it.
Try @details.total_time
I believe - gets translated to _ in the XML conversion