mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-13 07:49:29 +00:00
5 lines
114 B
Ruby
5 lines
114 B
Ruby
class User < ActiveRecord::Base
|
|
belongs_to :account, inverse_of: :user
|
|
validates :account, presence: true
|
|
end
|