Merge pull request #50487 from nubinary/fix/unneccesary-readonly-attributes-to-a

Remove unnecessary to_a conversion for readonly_attributes method call
This commit is contained in:
Ryuta Kamizono 2024-04-30 19:50:17 +09:00 committed by GitHub
commit f963d4a7f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ module ActiveRecord
def readonly_columns
primary_keys + model.readonly_attributes.to_a
primary_keys + model.readonly_attributes
end
def unique_by_columns