{"action":"opened","issue":{"url":"https://api.github.com/repos/voltrb/volt/issues/266","labels_url":"https://api.github.com/repos/voltrb/volt/issues/266/labels{/name}","comments_url":"https://api.github.com/repos/voltrb/volt/issues/266/comments","events_url":"https://api.github.com/repos/voltrb/volt/issues/266/events","html_url":"https://github.com/voltrb/volt/issues/266","id":101152157,"number":266,"title":"self.container and self.dom_nodes not working","user":{"login":"dancinglightning","id":142157,"avatar_url":"https://avatars.githubusercontent.com/u/142157?v=3","gravatar_id":"","url":"https://api.github.com/users/dancinglightning","html_url":"https://github.com/dancinglightning","followers_url":"https://api.github.com/users/dancinglightning/followers","following_url":"https://api.github.com/users/dancinglightning/following{/other_user}","gists_url":"https://api.github.com/users/dancinglightning/gists{/gist_id}","starred_url":"https://api.github.com/users/dancinglightning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dancinglightning/subscriptions","organizations_url":"https://api.github.com/users/dancinglightning/orgs","repos_url":"https://api.github.com/users/dancinglightning/repos","events_url":"https://api.github.com/users/dancinglightning/events{/privacy}","received_events_url":"https://api.github.com/users/dancinglightning/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-15T08:31:30Z","updated_at":"2015-08-15T08:31:30Z","closed_at":null,"body":"With the latest and a blank app i am trying to get access to nodes:\r\nhttp://docs.voltframework.com/en/getting_help/can_i_use_jquery_or_other_dom_manipulating_js.html\r\n\r\nSlightly different errors when trying in the action or a ready callback.\r\n\r\n    def index\r\n      puts self.container.class.name\r\n\r\nUncaught NoMethodError: undefined method `container_node' for nil\r\n\r\n    def index_ready\r\n      puts self.container.class.name\r\n\r\nUncaught TypeError: self.$container(...).$class is not a function\r\nDoes that mean the returned object is a js object, but i can't seem to get any info out, neither with ruby syntax nor backticks\r\n\r\nThe second case is pretty much the same for dom_nodes. But on the action, dom_nodes creates the error\r\n\r\nUncaught NoMethodError: undefined method `range' for nil\r\n\r\nAt glance i can't see tests for either, and unfortunately i wouldn't know how to write one."}}