This project is archived and is in readonly mode.
Changeset [cd13fbd8d8071b822f6d4f8967ef80c617c036ba] by Carl Lerche
Revision cd13fbd8d8071b822f6d4f8967ef80c617c036ba,
committed by Carl Lerche
· February 6th, 2011 @ 12:44 AM
Optionally pass in the attribute being validated to an instance
method validator
https://github.com/rails/rails/commit/cd13fbd8d8071b822f6d4f8967ef8...
3 changed files
-
M
activemodel/lib/active_model/validations/with.rb -
M
activemodel/test/cases/validations/with_validation_test.rb -
M
activemodel/test/models/topic.rb