Permalink
Commits on Mar 25, 2011
  1. Bump version to 0.2.2.

    committed Mar 25, 2011
  2. Refactoring of length_of matchers using model.class.validators method.

    options.assert_valid_keys( :within, :minimum, :maximum ) - not good idea raise_exception because validators has option's keys such as :allow_blank, :allow_nil.
    Likes as uniqueness_of matcher, with/without this options - different validators, not should be passed.
    committed Mar 25, 2011
  3. Refactoring of confirmation_of, numericality_of, presence_of matchers…

    … using model.class.validators method
    committed Mar 25, 2011
  4. Previous unknown reason detected :)

    Rails 3 validate_uniqueness_of  has some options key, like such the :scope, :case_sensitive, :allow_nil and more.
    If we are no have this options in validate_uniqueness_of matcher, but not have in the matched model - this is different validations and not should be match.
    Used model.class.validators method for find matched ActiveRecord validation, no model.send approach.
    committed Mar 25, 2011
Commits on Mar 24, 2011
  1. Rewrite validate_uniqueness_of matcher for unknown reason :) Uses mon…

    …key-patched Hash class with added deep_include? instance method.
    committed Mar 24, 2011
  2. Ignore RubyMine project folder

    committed Mar 24, 2011
Commits on Mar 16, 2010
  1. Version bump to 0.2.1

    cyx committed Mar 16, 2010
  2. fixed sugar patch

    cyx committed Mar 16, 2010
  3. added sugar.rb, which implement its

    cyx committed Mar 16, 2010
Commits on Mar 4, 2010
  1. Version bump to 0.2.0

    cyx committed Mar 4, 2010
  2. added active model lint behaviors

    cyx committed Mar 4, 2010
Commits on Feb 25, 2010
  1. Version bump to 0.1.2

    cyx committed Feb 25, 2010
  2. fixed homepage, git account, etc

    cyx committed Feb 25, 2010
  3. Version bump to 0.1.1

    cyx committed Feb 25, 2010
  4. changed rakefile

    cyx committed Feb 25, 2010
  5. Version bump to 0.1.0

    cyx committed Feb 25, 2010
Commits on Feb 24, 2010
  1. some tweaks to validations

    cyx committed Feb 24, 2010
  2. readme tweaks

    cyx committed Feb 24, 2010
  3. initial commit

    cyx committed Feb 24, 2010