Remove no-op `Relation::WhereClauseFactory` constant

That is to prevent the "uninitialized constant" error when loading the
data marshalized by the previous version of Rails (Rails 6.0), it is not
needed for the future version of Rails.
This commit is contained in:
Ryuta Kamizono 2021-02-18 17:26:01 +09:00
parent 7b4efda97a
commit 2cdd608f83
1 changed files with 0 additions and 7 deletions

View File

@ -1605,11 +1605,4 @@ module ActiveRecord
end
end
end
class Relation # :nodoc:
# No-op WhereClauseFactory to work Mashal.load(File.read("legacy_relation.dump")).
# TODO: Remove the class once Rails 6.1 has released.
class WhereClauseFactory # :nodoc:
end
end
end