Archived
2
0
Fork 0
This repository has been archived on 2024-06-09. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
mastodon/app/models/user.rb

4 lines
114 B
Ruby

class User < ActiveRecord::Base
belongs_to :account, inverse_of: :user
validates :account, presence: true
end