Custom Length Validation Tokenizers in Rails Validations

In Blogosphere

Ryan Daigle notes that ActiveRecord's validates_length_of validator now accepts a "tokenizer" block to implement custom length validators. Sounds confusing, but is actually rather useful.

Post to Twitter Tweet This Post

Vaguely Related Posts (Usually)

Leave a Reply