The current warning does not identify the location of the error so my request is to improve the code for the warning for the whole Rails community.
Thanks On Tuesday, March 26, 2019 at 6:15:28 PM UTC-4, o...@utilum.com wrote: > > Here's the commit introducing this change and adding a deprecation: > https://github.com/rails/rails/commit/28f88e0074f473f58c2d3fd54cb3daff81027c12 > > When the warning comes from Rails, as in this case, you can search the > Rails repository for the "deep" warning text and find out more about it. > > On Tuesday, March 26, 2019 at 6:36:51 PM UTC+1, Al wrote: >> >> Is it okay to ask for more detail in these error messages? I do not know >> where these dep warnings are triggered. >> >> DEPRECATION WARNING: Single arity template handlers are deprecated. >> Template handlers must >> now accept two parameters, the view object and the source for the view >> object. >> Change: >> >> Class#call(template) >> To: >> >> Class#call(template, source) >> (called from <top (required)> at $HOME/Projects/toy_app/Rakefile:6) >> >> ... >> >> DEPRECATION WARNING: Single arity template handlers are deprecated. >> Template handlers must >> now accept two parameters, the view object and the source for the view >> object. >> Change: >> >> Class#call(template) >> To: >> >> Class#call(template, source) >> (called from <top (required)> at >> $HOME/Projects/toy_app/config/environment.rb:5) >> >> >> Thanks >> >> -- 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. For more options, visit https://groups.google.com/d/optout.