RecordActive中default_errors_messages的改变
正在看railsspace_building_a_social_networking_website_with_ruby_on_rails一书,Rails_Space的测试代码,在测试时发现用下列验证输入信息过长的错误。在Rails2.2.2中发生错误。
error_messages = ActiveRecord::Errors.default_error_messages
sprintf(e...
2009-03-15 10:19:52 ·
169 阅读 ·
0 评论