RubyFlow The Ruby and Rails community linklog

Ransack attribute whitelisting, and why your class macros (might) suck

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 be
directed via GitHub to signup or sign in