What can be inside a class that derive from OmniAuth?
Posted
by
Richard77
on Stack Overflow
See other posts from Stack Overflow
or by Richard77
Published on 2012-11-20T04:46:05Z
Indexed on
2012/11/20
4:59 UTC
Read the original article
Hit count: 182
ruby-on-rails
|omniauth
I have the following class
class Identity < OmniAuth:: Identity:: Models:: ActiveRecord
attr_accessible :email, :name, :password_digest, :password, :password_confirmation
end
I wonder if the above properties are the only ones allowed for a class that derive from a OmniAuth. I wish I could add some more like FirstName, LastName, age, gender, and so on. Do I need to create an other model for those properties or can I just add them to the Identity model?
Thanks for helping.
© Stack Overflow or respective owner