This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Require this file, or put this in where Rails will auto load it. | |
# = Usage | |
# validates :attribute, :url => true | |
# Allow nil values | |
# validates :attribute, :allow_nil => true | |
# Allow empty values | |
# validates :attribute, :allow_empty => true |