I can relate to this. I researched a bunch of Ruby gems for "feature flags" a while back and didn't find any that worked for our needs, so I wrote the code myself, and it was super easy. On the other hand I'll choose Devise over DIY authentication every time. . . . :-)