Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

#sanitize removed in AR 5.1 #13

@RoryO

Description

@RoryO

Apparently this was not publicly usable rails/rails#28947. Bit frustrating since everyone has been using it for years and it was not marked as private. Use ActiveRecord::Sanitization.sanitize_sql_array for AR >= 4 and ActiveRecord::Base.send(:sanitize_sql_array) for AR 3.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions