Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add CHANGELOG entry for #13557 [ci skip]

  • Loading branch information...
commit f141919974806568f480cf2c670f990322308044 1 parent a28f1c2
@rafaelfranca rafaelfranca authored
View
4 activerecord/CHANGELOG.md
@@ -1,3 +1,7 @@
+* Fix presence validator for association when the associated record responds to `to_a`.
+
+ *gmarik*
+
* Fixed regression on preload/includes with multiple arguments failing in certain conditions,
raising a NoMethodError internally by calling `reflect_on_association` for `NilClass:Class`.
View
1  activerecord/test/cases/validations/presence_validation_test.rb
@@ -51,7 +51,6 @@ def test_validates_presence_of_has_many_marked_for_destruction
assert b.invalid?
end
-
def test_validates_presence_doesnt_convert_to_array
Speedometer.validates_presence_of :dashboard
Please sign in to comment.
Something went wrong with that request. Please try again.