forked from e621ng/e621ng
10 lines
175 B
Ruby
10 lines
175 B
Ruby
# frozen_string_literal: true
|
|
|
|
class UserStatus < ApplicationRecord
|
|
belongs_to :user
|
|
|
|
def self.for_user(user_id)
|
|
where("user_statuses.user_id = ?", user_id)
|
|
end
|
|
end
|