RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  
 

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.

Comments

Post a Comment

Comment abilities for non registered users are currently deactivated, pending time to add a proper CAPTCHA to solve the escalating spam problem. Sorry!