Skip to content
This repository

warning removed "warning: instance variable @variable_for_layout not ini... #4008

merged 1 commit into from over 2 years ago

2 participants

Arun Agrawal José Valim
Arun Agrawal

warning removed "warning: instance variable @variable_for_layout not initialized"

"@variable_for_layout" is used in standard layout

José Valim josevalim merged commit 3346de6 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Dec 17, 2011
Arun Agrawal arunagw warning removed "warning: instance variable @variable_for_layout not …
This page is out of date. Refresh to see the latest.
1  actionpack/test/controller/action_pack_assertions_test.rb
@@ -72,6 +72,7 @@ def render_text_with_custom_content_type
72 72 end
73 73
74 74 def render_with_layout
  75 + @variable_for_layout = nil
75 76 render "test/hello_world", :layout => "layouts/standard"
76 77 end
77 78

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.