igorkasyanchuk / rails_db

Rails Database Viewer and SQL Query Runner

Home Page:https://www.railsjazz.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ransack latest version is breaking this gem

kapso opened this issue · comments

commented

The latest version of ransack 2.3.2 is causing the following error -

/.rbenv/versions/2.7.0/lib/ruby/gems/2.7.0/gems/rails_db-2.2.1/lib/ext/ransack_ext.rb:18:in `alias_method': undefined method `url_options' for class `Ransack::Helpers::FormHelper::SortLink' (NameError)

@kapso can you try to fix this issue?

commented

Hey @igorkasyanchuk I will give this a shot over the weekend. Thanks.

Can anyone help me with this please :)
I am getting this error:

.rvm/gems/ruby-2.6.3/gems/rails_db-2.1.0/lib/ext/ransack_ext.rb:18:in `alias_method': undefined method `url_options' for class `Ransack::Helpers::FormHelper::SortLink' (NameError)

guys come on, you using open-source gems and not willing to contribute and fix the issue

try this branch and let me know if it works #115

version 2.3.0 has fix for the latest ransack