2015-12-01ãã1ã¶æéã®è¨äºä¸è¦§
Rails(ActiveRecord)ã«ã¯STI(åä¸ç¶æ¿ãã¼ãã«)ããã£ã¦ï¼ãã¼ãã«ã¯1ã¤ã ãã©typeã¨ããã«ã©ã ã§ã¢ãã«ãåºãåãããã¨ãã§ããï¼ä¾ãã°ï¼ã¢ã³ã±ã¼ãã®é ç®ã«ã¯åä¸/è¤æ°é¸æãããï¼ããããä¿åããå ã®ãã¼ãã«ã¯1ã¤ã«ã¾ã¨ããããããã°ã©ã ä¸ã§ã¯å¥ã®â¦
Rails㧠$ rails g model Hoge fuga:references $ rake db:migrate $ rm -rf db/migrate ã¿ãããªæãã§ã¢ãã«æ°è¦ä½ææã ãä¸æ¦ãã¤ã°ã¬ã¼ã·ã§ã³ãã¡ã¤ã«ä½ã£ã¦ããRidgepoleã®Schemafileã«dumpãã¦â¦ ã¿ãããªéç¨ãã¦ããè©°ã¾ã£ãï¼ ActiveRecordã®refereâ¦
application/jsonãåãåãããå ´å def params @params ||= JSON.parse(request.body.read, {:symbolize_names => true}) end æ¸ãã¨ãã¨application/x-www-form-urlencodedã®å ´åã¨åãæãã§paramsãåãåããã¨ãã§ããï¼APIã¤ããã¨ãã«ä¾¿å©ï¼ skip_bâ¦
ãã㯠Firefox OS Advent Calendar 2015 21æ¥ç®ã®è¨äºã§ãã å»å¹´ãä¸æ¨å¹´ã21æ¥ã«æ¸ãã¦ããã®ã§ä»å¹´ã21æ¥ãã¨æã£ã¦ä»æ¥æ¸ãã¾ãã æ¬å½ã¯ã¡ããã¨éçºè¨äºãæ¸ãããã¨æã£ã¦ããã®ã§ãããåè«ãã®ä»ã§ä½è£ããªãä»å¹´ãã£ãFirefox OSé¢é£ã®æ´»åã¨ãæâ¦
æ¨æ¥ãé«å°ã«ã³ãã¡ã®è¤æ°ãã©ãã¯çºè¡¨ã§ScratchXã®è©±ããã¾ããã é·å¼ãä½èª¿ä¸è¯ã¨ç¡ç ä¸è¶³ã«ããã¹ã©ã¤ããéãªã®ã¯ã容赦ãã ããã ScratchXã®éçºç°å¢ã®è©±ãéã«çµãã£ã¦ãã¾ã£ãã®ã§ãæ°ããè¨äºãæ¸ãã¾ããããã®è©±ãæå¾ ãã¦ãã人ã¯ä»¥ä¸ãã覧ãâ¦
ãã㯠Scratch Advent Calendar 21æ¥ç®ã®è¨äºã§ãã ããã«ã¡ã¯ãid:masawadaã¨ãããã¾ããæ®æ®µã¯äº¬é½ã¯ãªã¨ã¤ãã£ãã¯ã¼ã¯ã·ã§ããã¨ããã¨ããã§Scratchãªã©ãæ±ã£ãã¯ã¼ã¯ã·ã§ããã®ä¼ç»éå¶ãè¡ãªã£ã¦ãã人éã§ãã ScratchXã¨ã¯ ScratchXã¯Scratch 2â¦
ããã¯KMC Advent Calendar 2015 15æ¥ç®ã®è¨äºã§ãã æ¨æ¥ã¯ id:jf712 ããã® @uiureo ããèªçæ¥ããã§ã¨ããããã¾ã - éå®æ¥è¨ ã§ããã ç®æ¬¡ ç®æ¬¡ ã¯ããã« Minioã¨ã¯ Minioã®ä½¿ãæ¹ ãµã¼ããèµ·åãã ãµã¼ããå©ã Node.jsããå©ã Rubyããå©ã Amazoâ¦
ããã¯masawada Advent Calendar 2015 4æ¥ç®ã®è¨äºã§ãã åæå RTX1100ã®å¾æ¹ã«initãã¿ã³ãããã®ã§ãæ¼ããªããèµ·åããã°åæåã§ããã DHCPãµã¼ãã®è¨å®ã¾ã§ telnetãã RTX1100ã¯ããã©ã«ãã§IPv4ã®DHCPãµã¼ãã¨ãªã£ã¦ããªãã®ã§ãªã«ãã§ããªããIPvâ¦