This is a warning that began to appear after I upgraded my app from Rails 3.2.3 to 3.2.6. Here is the line of code in my “datatables” related class that it is pointing to:
class PdpsDatatable
delegate :current_user, :is_reader?, :is_admin?, :is_user?, :show_num, :params, :h, :link_to, to: :@view
# the line above is what the warning is pointing to
end
Is there any easy fix to this warning? It is just plain annoying.
thanks.
Bharat
I think the problem is not in this line…. You probably have the
:confirmin somewhere else in your application, such asbutton_to,button_tag,image_submit_tag,link_to, orsubmit_tag.More details about this deprecation here.
A possible solution for this warning here.