class User < ActiveRecord::Model has_one :facebook_account has_one :twitter_account end ã¨ããããã«ããªã£ã¦ãã¦ã»ããã ã§ãã£ã¦ããã°ã¤ã³å¦çã®å¯¾è±¡ã«ãªãã®ã¯ FacebookAccount ã TwitterAccount ã§ãªã㦠User ã¢ãã«ã§ãã£ã¦ã»ããã æå devise ã§ãããããã¨ããããã¨ãããã ãã©ããªãã ããã¾ããããªã㦠authlogic ã«ä¹ãæããããã§ãã authlogic ã«ã Facebook ã¨ã OpenID ã¨ãã® Add on ãããã¿ãããªãã§ããããã¡ãã¯ã©ããªå®è£ ã«ãªã£ã¦ããã®ãã³ã¼ããèªã¿åããªãã£ãã®ã§ã使ã£ã¦ãã¾ããã èªè¨¼ã«é¢ãã¦ã¯ã対å¿ãµã¼ãã¹ãå¤ã OmniAuth 使ããã¨ã«ãã¾ããã authlogic ã®æºå authlogi
{{#tags}}- {{label}}
{{/tags}}