public
Description: Simple plugin to encourage user’s to be on their best behavior when they choosing a username or filling out a form. Bad behavior can come in many forms but specifically, I wanted to prevent people from registering usernames like “administrator”, “root”, “abuse”,”support” etc. I also didn’t want people to pick names like “whore” or even “hoar”,”h0ar”,”wh0r3” (you get the picture).
Homepage: http://www.locusfoc.us
Clone URL: git://github.com/heavysixer/name_nanny.git
Click here to lend your support to: name_nanny and make a donation at www.pledgie.com !
name_nanny / init.rb
100755 3 lines (2 sloc) 0.087 kb
1
2
3
require File.dirname(__FILE__) + '/lib/name_nanny'
ActiveRecord::Base.extend NameNanny