File tree Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -134,12 +134,6 @@ by default. But it's good to be aware of this in case you're running into
134134weirdness.
135135
136136
137- # Known issues
138- * With Rails 5.0 in combination with uniqueness validations, ActiveRecord
139- generates a wrong query. The ` x ` in front of the queried value, which casts
140- the value to the proper data type, is missing.
141-
142-
143137# Contributing
144138To start coding on ` mysql-binuuid-rails ` , fork the project, clone it locally
145139and then run ` bin/setup ` to get up and running. If you want to fool around in
Original file line number Diff line number Diff line change @@ -53,10 +53,6 @@ class BeforePersistedTest < MySQLIntegrationTest
5353 end
5454
5555 test "validates uniqueness" do
56- if ActiveRecord . version < Gem ::Version . new ( "5.1.0" )
57- skip ( "Skipping uniqueness validation test, known issue on Rails/ActiveRecord 5.0" )
58- end
59-
6056 uuid = SecureRandom . uuid
6157 MyUuidModelWithValidations . create! ( the_uuid : uuid )
6258 duplicate = MyUuidModelWithValidations . new ( the_uuid : uuid )
You can’t perform that action at this time.
0 commit comments