This Gem provides automatic saving your filtered Ransack gem params into Rails session. It also autoloads params from session to your search forms.
Add this line to your application's Gemfile:
gem 'ransack_memory'