Allow frozen string literal as a safe raw SQL string by kamipo · Pull Request #33330 · rails/rails

#27947 was intended to address Post.order(params[:order]) which leading to SQL injection. But the protection caused very annoying warnings, especially for calling by a string literal which invoke a...