I added ActiveAdmin to my app, updated some gems and now I get a undefined method `link_to_function'
when viewing users show page. I have the will_paginate
gem and I added a initializer so there's no conflict.
kaminari.rb:
Kaminari.configure do |config|
config.page_method_name = :per_page_kaminari
end
The error points to the line on from /app/helpers/will_paginate_helper.rb:
@template.link_to_function(text.to_s.html_safe, ajax_call, attributes)
link_to_function
method is deprecated in Rails 4.1.x. – Chancery