# File lib/shoulda/active_record/macros.rb, line 261 261: def should_validate_numericality_of(*attributes) 262: message = get_options!(attributes, :message) 263: attributes.each do |attribute| 264: matcher = validate_numericality_of(attribute). 265: with_message(message) 266: should matcher.description do 267: assert_accepts matcher, subject 268: end 269: end 270: end