2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-10 05:01:43 +08:00

DEV: Remove stale ignored_columns from models.

This commit is contained in:
Alan Guo Xiang Tan 2022-01-11 10:34:31 +08:00
parent 2dcad9772f
commit 9f5c8644d0
13 changed files with 0 additions and 51 deletions

View file

@ -1,10 +1,6 @@
# frozen_string_literal: true
class UserApiKey < ActiveRecord::Base
self.ignored_columns = [
"scopes" # TODO(2020-12-18): remove
]
REVOKE_MATCHER = RouteMatcher.new(actions: "user_api_keys#revoke", methods: :post, params: [:id])
belongs_to :user