I'm a Ruby on Rails developer in Kansas City. I recently created a Ruby gem for Rails called validates_blacklist. This is an ActiveRecord mixin that allows you to maintain a list of banned values for the attributes of any model.

For instance, perhaps you want the User model to exclude certain usernames like 'admin', 'root', etc, so those users can't pose as site staff. This allows you to create a blacklist stored in a yaml file, so it doesn't gunk up your model.

Watch the video for more details, and visit kconrails.com for more of my open-source creations.

j vimeo.com/6360819

Loading more stuff…

Hmm…it looks like things are taking a while to load. Try again?

Loading videos…