Dashes in property name not getting NoMethodError
I'm using the Linkedin gem to pull profile information for RoR 3.
Gem: https://github.com/pengwynn/linkedin
API Doc: https://developer.linkedin.com/documents/profile-fields#positions

Everything works except when I get to a property with a dash in the name.

<%=position.title %> displays correctly but <%= position.start-date %> return a NoMethodError in Users#show - undefined method start.

I've tried different operations like "startDate", "start_date", quotes around "start-date" but none have worked.

Is there a proper way to escape the dash/hyphen in the property name
Dashes in property name not getting NoMethodError
===

I'm using the Linkedin gem to pull profile information for RoR 3.
Gem: https://github.com/pengwynn/linkedin
API Doc: https://developer.linkedin.com/documents/profile-fields#positions

Everything works except when I get to a property with a dash in the name.

<%=position.title %> displays correctly but <%= position.start-date %> return a NoMethodError in Users#show - undefined method start.

I've tried different operations like "startDate", "start_date", quotes around "start-date" but none have worked.

Is there a proper way to escape the dash/hyphen in the property name