The squiggly-heredoc operator can't be applied to an already existing string. That is the only case were you still need strip_heredoc, so unless we add a way to strip heredocs from an already existent string object to Ruby we can't deprecated it.
See https://github.com/rails/rails/commit/89bcca59e91fa9da941de890012872e8288e77b0 for the reasoning and https://github.com/rails/rails/blob/6729cef7516207efa1980de65fb4e1c72b4376d1/railties/lib/rails/generators/actions.rb#L330 for one place where we don't have an equivalent method. Rafael Mendonça França http://twitter.com/rafaelfranca https://github.com/rafaelfranca On Sat, Jun 8, 2019 at 12:28 PM Xavier Noria <f...@hashref.com> wrote: > +1 too. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Core" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rubyonrails-core+unsubscr...@googlegroups.com. > To post to this group, send email to rubyonrails-core@googlegroups.com. > Visit this group at https://groups.google.com/group/rubyonrails-core. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-core/CAM%3DYcdg-5w386piouguCujy8NoKcr0CpHor9zwSrWiZHOuUv7w%40mail.gmail.com > <https://groups.google.com/d/msgid/rubyonrails-core/CAM%3DYcdg-5w386piouguCujy8NoKcr0CpHor9zwSrWiZHOuUv7w%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-core+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-core@googlegroups.com. Visit this group at https://groups.google.com/group/rubyonrails-core. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-core/CAC9YFze7jD8kc%3DhnCfTjsCa6pJHm2X5DbHZuYBD%3D_pB6ufnVdw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.