syntax error, unexpe cted tIDENTIFIER, expecting ‘<‘ or ‘;’ or ‘n’

How I can solve the syntax error, unexpected tIDENTIFIER, expecting ‘<‘ or ‘;’ or ‘n’

class UserSession
include ActiveModel::Validations
include ActiveModel::Conversion
extend ActiveModel::Naming
extend ActiveModel::Translation
attr_accessor :email, :password
validates_presence_of :email, :password
def persisted?
false
end
end


Source: syntax

Leave a Reply