HeartRails Tech Blog ãã¼ãã¬ã¤ã«ãºã®ã¨ã³ã¸ãã¢ããã¶ã¤ãã¼ã«ããããã°ã§ãã ã¦ã§ããµã¼ãã¹ãã¹ããã¢ããªãIoT ããã¤ã¹ã®éçºã«é¢é£ããæè¡çãªæ å ±ãçºä¿¡ãã¦ããã¾ãã github/scientist ããã¯ä½ï¼ github ãéçºããã¤ãå æ¥ ver1.0 ããªãªã¼ã¹ããã gem ã§ãã æ¬çªç°å¢ã§æ°ããã³ã¼ãã試ãããã®ãã¼ã«ã§ãã ä¾ãã°ä»¥ä¸ã®ãããªã³ã¼ãããã£ãã¨ãã¾ãããã class Repository def pullable_by?(user) self.is_collaborator?(user) end end ãã®ã³ã¼ãã以ä¸ã®ããã«ãªãã¡ã¯ã¿ãªã³ã°ããããã¨ãã¾ãã def pullable_by?(user) has_access?(user) end ããããæ°ããã³ã¼ããå ã®ã³ã¼ãã¨å ¨ãåãããã«åãã¦ããããã©ããå¿é ããã
{{#tags}}- {{label}}
{{/tags}}