1. 17 10月, 2011 1 次提交
  2. 09 9月, 2011 1 次提交
  3. 07 9月, 2011 1 次提交
  4. 17 8月, 2011 1 次提交
    • B
      Implemented strict validation concept · 8620bf90
      Bogdan Gusiev 提交于
      In order to deliver debug information to dev team
      instead of display error message to end user
      Implemented strict validation concept
      that suppose to define validation that always raise exception when fails
      8620bf90
  5. 14 8月, 2011 3 次提交
  6. 28 7月, 2011 1 次提交
  7. 04 6月, 2011 1 次提交
  8. 24 5月, 2011 1 次提交
  9. 31 3月, 2011 1 次提交
  10. 29 3月, 2011 1 次提交
  11. 28 2月, 2011 1 次提交
  12. 10 2月, 2011 5 次提交
  13. 05 1月, 2011 1 次提交
  14. 01 12月, 2010 3 次提交
  15. 25 9月, 2010 1 次提交
  16. 30 8月, 2010 2 次提交
  17. 14 8月, 2010 2 次提交
  18. 04 8月, 2010 1 次提交
  19. 03 8月, 2010 1 次提交
  20. 02 8月, 2010 1 次提交
  21. 30 7月, 2010 1 次提交
  22. 03 7月, 2010 1 次提交
  23. 26 6月, 2010 1 次提交
  24. 23 6月, 2010 1 次提交
  25. 21 6月, 2010 2 次提交
    • J
      Refactor previous commit a bit [#4057 state:resolved] · 0421fb7a
      José Valim 提交于
      0421fb7a
    • J
      Make ActiveModel::Errors#add_on_blank and #add_on_empty accept an options hash... · 26392c4a
      Jeroen van Dijk 提交于
      Make ActiveModel::Errors#add_on_blank and #add_on_empty accept an options hash and make various Validators pass their (filtered) options.
      
      This makes it possible to pass additional options through Validators to message generation. E.g. plugin authors want to add validates_presence_of :foo, :format => "some format".
      
      Also, cleanup the :default vs :message options confusion in ActiveModel validation message generation.
      
      Also, deprecate ActiveModel::Errors#add_on_blank(attributes, custom_message) in favor of ActiveModel::Errors#add_on_blank(attributes, options).
      
      Also, refactoring of ActiveModel and ActiveRecord Validation tests. Test are a lot more DRY now. Better test coverage as well now.
      
      The first four points were reapplied from an older patch of Sven Fuchs which didn't apply cleanly anymore and was not complete yet.
      Signed-off-by: NJosé Valim <jose.valim@gmail.com>
      26392c4a
  26. 14 6月, 2010 1 次提交
  27. 11 6月, 2010 1 次提交
  28. 03 6月, 2010 1 次提交
  29. 01 6月, 2010 1 次提交