Я думаю, что нашел ответ ...
<code>
acts_as_authentic do |c|
c.validates_format_of_login_field_options = {:with => /^[a-zA-Z0-9_]+$/, :message => I18n.t('error_messages.login_invalid', :default => "should use only letters, numbers and underscores no other characters.")}
end