mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
Removed own email validation to avoid duplicate error messages
This commit is contained in:
parent
56d9ffdef2
commit
ea6ac42e75
@ -11,8 +11,6 @@ class User < ActiveRecord::Base
|
||||
include HasContent
|
||||
include Authority::UserAbilities
|
||||
|
||||
validates :email, presence: true, uniqueness: true
|
||||
|
||||
has_many :subscriptions
|
||||
has_many :billing_plans, through: :subscriptions
|
||||
def on_premium_plan?
|
||||
|
||||
Loading…
Reference in New Issue
Block a user