diff options
author | José Valim <jose.valim@gmail.com> | 2010-08-29 21:08:14 -0300 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-08-29 21:08:14 -0300 |
commit | ba52748d05da4f95a8f371d628af97b76644bdd3 (patch) | |
tree | 0f104ebfdb7c5dfd25dba227d7e6708b904e08c6 /actionpack/lib/action_view | |
parent | 800695ad4cef33347bcfef6df7634ff533582449 (diff) | |
download | rails-ba52748d05da4f95a8f371d628af97b76644bdd3.tar.gz rails-ba52748d05da4f95a8f371d628af97b76644bdd3.tar.bz2 rails-ba52748d05da4f95a8f371d628af97b76644bdd3.zip |
Remove deprecated support to <% form_for %> and several ActionController::Base methods.
Diffstat (limited to 'actionpack/lib/action_view')
-rw-r--r-- | actionpack/lib/action_view/template/handlers/erb.rb | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/actionpack/lib/action_view/template/handlers/erb.rb b/actionpack/lib/action_view/template/handlers/erb.rb index ce609e01af..24e1e44c1d 100644 --- a/actionpack/lib/action_view/template/handlers/erb.rb +++ b/actionpack/lib/action_view/template/handlers/erb.rb @@ -14,13 +14,6 @@ module ActionView super(value.to_s) end alias :append= :<< - - def append_if_string=(value) - if value.is_a?(String) && !value.is_a?(NonConcattingString) - ActiveSupport::Deprecation.warn("<% %> style block helpers are deprecated. Please use <%= %>", caller) - self << value - end - end end class Template @@ -45,14 +38,6 @@ module ActionView end end - def add_stmt(src, code) - if code =~ BLOCK_EXPR - src << '@output_buffer.append_if_string= ' << code - else - super - end - end - def add_expr_escaped(src, code) src << '@output_buffer.append= ' << escaped_expr(code) << ';' end |