max-favilli/tagmanager — pull request #29 by rmg (2012-11-09 04:32:45+00:00)
Title: Use input IDs instead of name attributes

Rails forms tend to produce input elements with names that aren't valid ID's

Feel free to ignore or re-write this. I did this quick change to get things working for an app of mine. I didn't bother handling the case of an input element not having an ID. There should probably be some sort of fallback.