lib/action_view/template/handlers/erb.rb in actionview-4.2.0.beta1 vs lib/action_view/template/handlers/erb.rb in actionview-4.2.0.beta2
- old
+ new
@@ -47,12 +47,12 @@
end
def add_expr_escaped(src, code)
flush_newline_if_pending(src)
if code =~ BLOCK_EXPR
- src << "@output_buffer.safe_append= " << code
+ src << "@output_buffer.safe_expr_append= " << code
else
- src << "@output_buffer.safe_append=(" << code << ");"
+ src << "@output_buffer.safe_expr_append=(" << code << ");"
end
end
def add_stmt(src, code)
flush_newline_if_pending(src)