Created
March 28, 2019 12:00
-
-
Save MaryKuz/06c00bf3a2fbc03a7adbb1932e17f1f5 to your computer and use it in GitHub Desktop.
Add code to model AuthToken
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class AuthToken < ActiveRecord::Base | |
belongs_to :user | |
validates :value, presence: true | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment