Adds methods to validate if your strings are composed of only kana, hiragana, katakana or kanji only.
class User < ActiveRecord::Base
validates_is_hiragana :name_hiragana, :allow_blank => true validates_is_kanji :name_kanji
end
validates_is_kana validates_is_kanji validates_is_hiragana validates_is_katakana validates_is_half_katakana
allow_blank - Default to true allow_nil - Deafult to true