What can be inside a class that derive from OmniAuth?
- by Richard77
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.