user.rb 114 Bytes
Newer Older
Eugen Rochko's avatar
Eugen Rochko committed
1 2
class User < ActiveRecord::Base
  belongs_to :account, inverse_of: :user
Eugen Rochko's avatar
Eugen Rochko committed
3
  validates :account, presence: true
Eugen Rochko's avatar
Eugen Rochko committed
4
end