Skip to content

Instantly share code, notes, and snippets.

@mrchrisadams
Created March 27, 2009 18:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mrchrisadams/86813 to your computer and use it in GitHub Desktop.
Save mrchrisadams/86813 to your computer and use it in GitHub Desktop.
undefined method `to_iso' for "Paris":String
Extracted source (around line #63):
60: <li><strong>Via:</strong></li>
61: <% result.connection.legs.each do |leg| %>
62: <%# Only return the first word of each name for now %>
63: <li class="stops"><%= leg.end_station.name.split(" ")[0].to_iso() %></li>
64: <% end %>
65: </ul>
66: <% end %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment