{"action":"created","issue":{"url":"https://api.github.com/repos/crismali/magic_lamp/issues/20","labels_url":"https://api.github.com/repos/crismali/magic_lamp/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/crismali/magic_lamp/issues/20/comments","events_url":"https://api.github.com/repos/crismali/magic_lamp/issues/20/events","html_url":"https://github.com/crismali/magic_lamp/issues/20","id":73623955,"number":20,"title":"Missing something trivial :)","user":{"login":"rstudner","id":209970,"avatar_url":"https://avatars.githubusercontent.com/u/209970?v=3","gravatar_id":"","url":"https://api.github.com/users/rstudner","html_url":"https://github.com/rstudner","followers_url":"https://api.github.com/users/rstudner/followers","following_url":"https://api.github.com/users/rstudner/following{/other_user}","gists_url":"https://api.github.com/users/rstudner/gists{/gist_id}","starred_url":"https://api.github.com/users/rstudner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rstudner/subscriptions","organizations_url":"https://api.github.com/users/rstudner/orgs","repos_url":"https://api.github.com/users/rstudner/repos","events_url":"https://api.github.com/users/rstudner/events{/privacy}","received_events_url":"https://api.github.com/users/rstudner/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-06T13:39:34Z","updated_at":"2015-05-06T14:27:18Z","closed_at":"2015-05-06T14:27:18Z","body":"So I have a page with the following setup:\r\n\r\n/dashboard/index.html.erb\r\n\r\nthat file, of course, loads some partials\r\n/dashboard/_widget1.html.erb\r\n/dashboard/_widget2.html.erb\r\n\r\nso if I do:\r\n```\r\nMagicLamp.register_fixture do\r\n  @organizations = [Organization.new(id: 1, name: 'foo')]\r\n  render \"dashboard/index\"\r\nend\r\n```\r\n\r\nThen do MagicLamp.load('dashboard/index') it will crash, because it has no idea what _widget1 etc is.\r\n\r\n```\r\nError: ActionView::Template::Error: Missing partial application/_widget1 with {:locale=>[:en], :formats=>[:html, :text, :js, :css, :ics, :csv, :vcf, :png, :jpeg, :gif, :bmp, :tiff, :mpeg, :xml, :rss, :atom, :yaml, :multipart_form, :url_encoded_form, :json, :pdf, :zip], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :coffee, :arb, :jbuilder]}.\r\n```\r\nWhat's the trick? (which i'm guessing is obvious, and possibly even in the docs but I missed it).\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/crismali/magic_lamp/issues/comments/99488237","html_url":"https://github.com/crismali/magic_lamp/issues/20#issuecomment-99488237","issue_url":"https://api.github.com/repos/crismali/magic_lamp/issues/20","id":99488237,"user":{"login":"rstudner","id":209970,"avatar_url":"https://avatars.githubusercontent.com/u/209970?v=3","gravatar_id":"","url":"https://api.github.com/users/rstudner","html_url":"https://github.com/rstudner","followers_url":"https://api.github.com/users/rstudner/followers","following_url":"https://api.github.com/users/rstudner/following{/other_user}","gists_url":"https://api.github.com/users/rstudner/gists{/gist_id}","starred_url":"https://api.github.com/users/rstudner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rstudner/subscriptions","organizations_url":"https://api.github.com/users/rstudner/orgs","repos_url":"https://api.github.com/users/rstudner/repos","events_url":"https://api.github.com/users/rstudner/events{/privacy}","received_events_url":"https://api.github.com/users/rstudner/received_events","type":"User","site_admin":false},"created_at":"2015-05-06T14:27:18Z","updated_at":"2015-05-06T14:27:18Z","body":"Brilliant!  thank you so much.\r\n\r\nI'm a long time java/scala developer who also does UI (ember, angular, knockout, whatever).. and thus my RAILS experience is low and some of these rather obvious (I assume to rails people) things throw me for a loop :)\r\n\r\nAppreciate the help!\r\n"}}