Displaying 1 result from an estimated 1 matches for "building_block".
Did you mean:
building_lock
2008 May 29
2
Render partial yields "dynamic constant assignment"
...endering a partial. This is a simple
html partial with one instance variable inside it. Rendering as a
"template" instead of as a partial works just fine. The error occurs 3
lines after the last line of HTML code in the partial. There is no line
72! Here is the error:
SyntaxError in Building_blocks#preview
Showing building_blocks/_BB02.html.erb where line #72 raised:
compile error
C:/Ruby_Development/sbtool/app/views/building_blocks/_BB02.html.erb:-2:
dynamic constant assignment
BB02 = local_assigns[:BB02]
^
C:/Ruby_Development/sbtool/app/views/building_blocks/_BB02.html.erb:-1:
dynam...