mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
6 lines
115 B
Ruby
6 lines
115 B
Ruby
class User < ActiveRecord::Base
|
|
belongs_to :account, inverse_of: :user
|
|
|
|
validates :account, presence: true
|
|
end
|