igorkasyanchuk / rails_db

Rails Database Viewer and SQL Query Runner
https://www.railsjazz.com/
MIT License
1.46k stars 111 forks source link

fix use paramters to generate url in rails 5 #53

Closed adamshen closed 8 years ago

adamshen commented 8 years ago

In rails 5, param can't be used to generate url unless it's permitted.

Simply change it to hash.

But it still doesn't work in rails 5, because the other gem ransack also used ActionController::Parameters as variable passed to the url_for method.