Skip to content

Instantly share code, notes, and snippets.

@psykidellic
Created August 15, 2012 18:38
Show Gist options
  • Select an option

  • Save psykidellic/3362222 to your computer and use it in GitHub Desktop.

Select an option

Save psykidellic/3362222 to your computer and use it in GitHub Desktop.
%script#container-fluid{ :type => 'text/template' }
.container-fluid{ :style => "border: solid 1px;" }
.sidebar
= render '/audio_player'
.content
%a{ :href => 'test'}
= "#{name}"
#footer
>>>
undefined local variable or method `name' for #<#<Class:0x0000010335e810>:0x00000129a8a1e0>
@psykidellic

Copy link
Copy Markdown
Author
%script#container-fluid{ :type => 'text/template' }
  .container-fluid{ :style => "border: solid 1px;" }
    .sidebar
      = render '/audio_player'
    .content
      #test-links
        %a{ :href => 'test'}
          <%= name %>
    #footer

this works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment