Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Sep 7, 2015
  1. @rafaelfranca

    Revert "Merge pull request #21069 from dmitry/feature/validate-multip…

    rafaelfranca committed
    This reverts commit 51dd258, reversing
    changes made to ecb4e4b.
    This broke Active Record tests
Commits on Oct 26, 2014
  1. @rafaelfranca

    Prefix internal method with _

    rafaelfranca committed
    This will avoid naming clash with user defined methods
Commits on Oct 3, 2012
  1. @rafaelfranca

    Use the `flat_map` method.

    rafaelfranca committed
    Thanks to @jeremy to teach me this one.
  2. @rafaelfranca

    Revert "Merge pull request #7826 from sikachu/master-validators-kind"

    rafaelfranca committed
    This reverts commit 4e9f53f, reversing
    changes made to 6b802cd.
    Revert "Don't use tap in this case."
    This reverts commit 454d820.
    Reason: Is not a good idea to add options to this method since we can do
    the same thing using method composition.
        Person.validators_on(:name).select { |v| v.kind == :presence }
    Also it avoids to change the method again to add more options.
  3. @rafaelfranca

    Don't use tap in this case.

    rafaelfranca committed
    The use of tap in this case is very confusing since we are mutating the
    return value inside the block
Commits on Jan 6, 2012
  1. @rafaelfranca
Something went wrong with that request. Please try again.