Readme.md in activemodel-validators-1.0.0 vs Readme.md in activemodel-validators-1.1.0

- old
+ new

@@ -18,9 +18,10 @@ # Because presence: true doesn't work for boolean attributes! validates :is_18_or_older, boolean_presence: true validates :model, restrict_to: {allowed_options: ['Model A', 'Model B']}, allow_blank: true + validates_with AtLeastOnePresentValidator, at_least_one_of: [:home_phone, :work_phone] validates_with AtLeastOnePresentValidator, at_least_one_of: [:parent_1_home_phone, :parent_1_work_phone, :parent_1_mobile_phone], message: :at_least_one_phone_parent_1 validates :option_b, blank: {message: :must_be_blank_if_option_a}, if: :option_a? validates :rating, multiple_of: {of: '0.5'}