Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
rails validation plugin. validates credit card numbers (via checksum). http://github.com/paulschreiber/valid…
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Type||Name||Latest commit message||Commit time|
|Failed to load latest commit information.|
ValidatesCreditCard =================== Copyright (c) 2008 Stefan Natchev Originally found at http://code.google.com/p/validates-credit-card/ Modifications by Paul Schreiber (http://paulschreiber.com/) - can now pass :if and :unless to validators - added method to detect card type based on card number (card_type_from_number) - added list of card prefixes from "Credit card validation extension for jQuery Validation plugin" by Jack Killpatrick http://www.ihwy.com/labs/jquery-validate-credit-card-extension.aspx which is an enhancment of work by John Gardner http://www.braemoor.co.uk/software/creditcard.shtml Last modified 15 September 2010