{"action":"created","issue":{"url":"https://api.github.com/repos/rmosolgo/react-rails-hot-loader/issues/8","labels_url":"https://api.github.com/repos/rmosolgo/react-rails-hot-loader/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/rmosolgo/react-rails-hot-loader/issues/8/comments","events_url":"https://api.github.com/repos/rmosolgo/react-rails-hot-loader/issues/8/events","html_url":"https://github.com/rmosolgo/react-rails-hot-loader/pull/8","id":127958750,"number":8,"title":"Support Sprockets 3","user":{"login":"rmosolgo","id":2231765,"avatar_url":"https://avatars.githubusercontent.com/u/2231765?v=3","gravatar_id":"","url":"https://api.github.com/users/rmosolgo","html_url":"https://github.com/rmosolgo","followers_url":"https://api.github.com/users/rmosolgo/followers","following_url":"https://api.github.com/users/rmosolgo/following{/other_user}","gists_url":"https://api.github.com/users/rmosolgo/gists{/gist_id}","starred_url":"https://api.github.com/users/rmosolgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmosolgo/subscriptions","organizations_url":"https://api.github.com/users/rmosolgo/orgs","repos_url":"https://api.github.com/users/rmosolgo/repos","events_url":"https://api.github.com/users/rmosolgo/events{/privacy}","received_events_url":"https://api.github.com/users/rmosolgo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-21T16:08:09Z","updated_at":"2016-01-24T00:40:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rmosolgo/react-rails-hot-loader/pulls/8","html_url":"https://github.com/rmosolgo/react-rails-hot-loader/pull/8","diff_url":"https://github.com/rmosolgo/react-rails-hot-loader/pull/8.diff","patch_url":"https://github.com/rmosolgo/react-rails-hot-loader/pull/8.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/rmosolgo/react-rails-hot-loader/issues/comments/174238805","html_url":"https://github.com/rmosolgo/react-rails-hot-loader/pull/8#issuecomment-174238805","issue_url":"https://api.github.com/repos/rmosolgo/react-rails-hot-loader/issues/8","id":174238805,"user":{"login":"rmosolgo","id":2231765,"avatar_url":"https://avatars.githubusercontent.com/u/2231765?v=3","gravatar_id":"","url":"https://api.github.com/users/rmosolgo","html_url":"https://github.com/rmosolgo","followers_url":"https://api.github.com/users/rmosolgo/followers","following_url":"https://api.github.com/users/rmosolgo/following{/other_user}","gists_url":"https://api.github.com/users/rmosolgo/gists{/gist_id}","starred_url":"https://api.github.com/users/rmosolgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmosolgo/subscriptions","organizations_url":"https://api.github.com/users/rmosolgo/orgs","repos_url":"https://api.github.com/users/rmosolgo/repos","events_url":"https://api.github.com/users/rmosolgo/events{/privacy}","received_events_url":"https://api.github.com/users/rmosolgo/received_events","type":"User","site_admin":false},"created_at":"2016-01-24T00:40:00Z","updated_at":"2016-01-24T00:40:00Z","body":"I just don't get why `assets[logical_path].to_s` fails in the gem code, but it works in the console!\r\n\r\n```\r\n~/code/react-rails-hot-loader/test/dummy $ rails c test\r\nLoading test environment (Rails 4.2.2)\r\nirb(main):001:0> puts Rails.application.assets[\"test_asset_1.js\"].to_s\r\nvar testAsset1 = function () {\r\n  return React.createElement(\r\n    \"span\",\r\n    null,\r\n    \"test asset 1\"\r\n  );\r\n};\r\n```"}}