{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"user":{"avatar_url":"https://secure.gravatar.com/avatar/3bc9c3ee6523d5a18164fda790651b66?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"3bc9c3ee6523d5a18164fda790651b66","url":"https://api.github.com/users/kb1ibt","login":"kb1ibt","id":142315},"milestone":null,"assignee":null,"labels":[],"updated_at":"2011-11-02T16:44:01Z","closed_at":null,"comments":0,"url":"https://api.github.com/repos/albertopq/jquery_datepicker/issues/3","body":"When the javascript is being generated if you are using nested attributes instead of getting the id it is getting the name.  o in my case the generated javascript shows $(\"#registered_user[product_attributes][0]_purchase_date\").datepicker(); which doesn't find anything, instead it needs to be $(\"#registered_user_product_attributes_0_purchase_date\").datepicker();","html_url":"https://github.com/albertopq/jquery_datepicker/issues/3","number":3,"title":"When using nested attributes, id != name","id":2123539,"created_at":"2011-11-02T16:44:01Z"},"action":"opened"}