I just posted a quick walkthrough on using attribute whitelisting using the Ransack search gem. But, ignore that part. It was really just an excuse to talk about why a class macro was the wrong way to go about implementing this kind of feature.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will bedirected via GitHub to signup or sign in