Skip to content

Instantly share code, notes, and snippets.

@scottbaggett
Created September 19, 2012 22:58
Show Gist options
  • Select an option

  • Save scottbaggett/3752895 to your computer and use it in GitHub Desktop.

Select an option

Save scottbaggett/3752895 to your computer and use it in GitHub Desktop.
errors
Temple::InvalidExpression in Application#index
Showing /Users/scottbaggett/code/Seventy-Two-Site/app/views/layouts/mobile.slim where line #26 raised:
Generator supports only core expressions - found [:html, :tag, "li", [:html, :attrs], [:multi, [:newline], [:html, :tag, "img", [:html, :attrs, [:html, :attr, "class", [:static, "retina"]], [:html, :attr, "width", [:multi, [:static, "320"]]], [:html, :attr, "height", [:multi, [:static, "245"]]], [:html, :attr, "src", [:multi, [:multi, [:escape, true, [:dynamic, "project.cover_image.cover_image.mobile_home_thumb.url"]], [:multi]]]]], [:multi, [:newline]]], [:html, :tag, "div", [:html, :attrs, [:html, :attr, "class", [:static, "details"]]], [:multi, [:newline], [:html, :tag, "div", [:html, :attrs, [:html, :attr, "class", [:static, "logo"]]], [:multi, [:newline], [:html, :tag, "img", [:html, :attrs, [:html, :attr, "class", [:static, "retina"]], [:html, :attr, "width", [:multi, [:static, "46"]]], [:html, :attr, "src", [:multi, [:static, "/assets/mobile/fpo/nikelogo.png"]]]], [:multi, [:newline]]]]], [:html, :tag, "h2", [:html, :attrs], [:multi, [:multi, [:multi, [:escape, true, [:dynamic, "project.name"]], [:multi]]]]], [:newline], [:html, :tag, "p", [:html, :attrs], [:multi, [:multi, [:multi, [:escape, true, [:dynamic, "project.description"]], [:multi]]]]], [:newline]]]]]
(in /Users/scottbaggett/code/Seventy-Two-Site/app/assets/javascripts/mobile/templates/carousel.jst.skim)
Extracted source (around line #26):
23:
24: = yield
25: = javascript_include_tag "modernizr-2.5.3"
26: = javascript_include_tag "mobile"
27:
28: javascript:
29: window._gaq = [['_setAccount','UAXXXXXXXX1'],['_trackPageview'],['_trackPageLoadTime']];
Rails.root: /Users/scottbaggett/code/Seventy-Two-Site
Application Trace | Framework Trace | Full Trace
app/views/layouts/mobile.slim:26:in `_app_views_layouts_mobile_slim__2265822747691297334_70351460763700'
app/controllers/application_controller.rb:12:in `index'
Request
Parameters:
{"a"=>"home"}
Show session dump
Show env dump
Response
Headers:
None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment