Rails 4, using Ransack.