Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

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