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 [9131a88bb8e82f139ec49b4057fb6065ba0a2c6a] by Josh Kalderimis

Revision 9131a88bb8e82f139ec49b4057fb6065ba0a2c6a, committed by Josh Kalderimis · May 13th, 2010 @ 09:57 PM

validation macros can now be used within an instance
http://github.com/rails/rails/commit/9131a88bb8e82f139ec49b4057fb60...

13 changed files

  • A activemodel/lib/active_model/validations/helper_methods.rb
  • A activemodel/test/models/automobile.rb
  • M activemodel/lib/active_model/validations.rb
  • M activemodel/lib/active_model/validations/acceptance.rb
  • M activemodel/lib/active_model/validations/confirmation.rb
  • M activemodel/lib/active_model/validations/exclusion.rb
  • M activemodel/lib/active_model/validations/format.rb
  • M activemodel/lib/active_model/validations/inclusion.rb
  • M activemodel/lib/active_model/validations/length.rb
  • M activemodel/lib/active_model/validations/numericality.rb
  • M activemodel/lib/active_model/validations/presence.rb
  • M activemodel/lib/active_model/validations/with.rb
  • M activemodel/test/cases/validations_test.rb