Workshop Design #5ã»6 ãã¯ãªã¹ããã¡ã¼ã»ã¢ã¬ã°ã¶ã³ãã¼ã® ãã¶ã»ãã¤ãã£ã¼ã»ãªãã»ãªã¼ãã¼ã ã®æ¦å¿µãç¨ãã¦ã¯ã¼ã¯ã·ã§ããã® ãã¶ã¤ã³ãèãã¦ã¿ãããï¼äºåºå´ï¼
ããã¯åè·ã®ãããä»åã®ç»å£è ã§ããã @moro ã®çºè¡¨ã«ããããããªãè¦ä»¶ã¨ãã¦ã®è«çåé¤ã¯ãªããã¨ãããã¨ã«ç±ãèªããã£ãããã¦ããã¨ãããªãã£ãã¨ãã ããã¦ãããæ¥ç§ãè«çåé¤ã¤ããã¨ãããã¨ãã¤ã¶ãããã¨ãããããã®ä¼ç»ã¯åãã ãã¾ããã ãã®ã¨ãã¯åååè«ã§ããã¤ãå 輪ã§éã¾ã£ã¦ããããããããªã¨ãããããã ã£ãã®ã§ãããä»å¹´ã®æ¥ã«Jxckããã® RDB - DELETE_FLAG ãä»ããåã«ç¢ºèªããããã¨ã - Qiita ããã£ããã¨ãã¦ã¤ã³ã¿ã¼ãããã§è«çåé¤ãçãä¸ãã£ããã¨ãæå±ããçµç¹ããæè¡ã¤ãã³ãããã£ã¦ãããã¨ããæ©éãé«ã¾ã£ã¦ãããã¨ããã®2ã¤ãã¡ããã©ããã¿ã¤ãã³ã°ã§éãªã£ã¦ãããã¯ãããããªããªã¨æã£ãã®ã§ããã(ã¨ã¯ãããJxckããã®ã¨ã³ããªããã¯åå¹´ãçµã£ã¦ãã¾ã£ã¦ãã¾ããâ¦) @t_wadaããã®å ¨ä½åã¨ç·è«(ã¨æã£ããäºæ³ä»¥ä¸ã«è¸ã¿è¾¼ãã å
8æ32æ¥ãçããã¿ãªããããã¯ãããããã¾ããæ¨æ©ã«éå¬ããã è«çåé¤ Casual Talks #1 : ATND ã«ã¤ãã¦æ¸ãã¾ããå¤åå ã®ã»ã«ãªã¢ã³ã¿ã¯ã¼ã§éå¬ãããã¨ããã®ã§ãããã¯ä¿ºå¾ã ã¨æããéå¶ããæä¼ãããå½¢ã§åå ããã¦ãããã¾ãããã¿ãªããã®ãã¼ã¯ãã°ã£ã¡ãèãã¦ããããããæ©ä¼ã§ããã @t_wada ããã®ãã¼ã¯ @yoku0825 ããã®ãã¼ã¯ @misoobu ããã®ãã¼ã¯ @moro ããã®ãã¼ã¯ è«çåé¤ Casual Talks #1 ã§ãè«çåé¤ããªããã¨ãã話ããã¾ãã â moroã®ããã° gyugyu ããã®ãã¼ã¯ ããã·ã¥ã¿ã°ä»ãã®ãã¤ã¼ãã¯ãã¡ãããã©ãã #ronsakucasual hashtag on Twitter ã¿ãªããã®ãã¼ã¯ãè´ãã¦ã®éæ ãã¨ããããè«çåé¤ãã£ã¦ããã®ã極ãã¦å±éºãã¨ããããã¦èªèãã¾ãããæ¬æ¥ã¯ãå½è©²ãã¼
åå ã¨ããããåé¤ãã©ã° ç®ç ã¨ã³ãã¦ã¼ã¶ããè¦ãã¨ãã¼ã¿ããªããã¨ã«ããããã©ãå®éã®ãã¼ã¿ã¯æ¶ããããªã åé¤ãããã¼ã¿ãæ¤ç´¢ããã ãã¼ã¿ãæ¶ããã«ãã°ã«æ®ããã 誤ã£ãæä½ããªãã£ããã¨ã«ããããç´ãã«å ã«æ»ããã ã¢ã³ããã¿ã¼ã³ ä¾ãã°is_deletedã¨ããã«ã©ã ãtrueã®å ´åã¯åé¤ããã¦ããã¨ã¿ãªã ã¡ãªãã updateæãªããã¼ã¿ãç°¡åã«å ã«æ»ããæ°ãããã®ã§ãªãã¨ãªãå®å¿ -> 俺ã®updateæã§ãªãã¨ããªãï¼ï¼ èµ·ããã㨠SELECTããã¨ãã«ã¯å¸¸ã«WHEREå¥ã追å ã§å¿ è¦ã«ãªããã³ã¼ããåé¤ãã©ã°ã ããã«ãªã å ¨å¡ãã¼ãã«è¨è¨ã«ç²¾éãã¦ãããã§ã¯ãªãã®ã§ããã¼ãã«ã«ãã£ã¦åé¤ãã©ã°ã®æç¡ããã£ããããå ´åãèªèã®é½é½¬ãçã¿ããã ä¾ãã°rubyã§default_scopeãç¨ãã¦ããããã¨ããã£ã¦ã³ã¼ãã¬ãã«ã§ããã©ã«ããå¤ããããã°ãããããåºã¦ãã
ç§äºã§ãããã¿ã¤ãã«ã®éãã(æ ª)ãµã¤ãã¼ã¨ã¼ã¸ã§ã³ããéè·ãã¾ããæ¨æ¥8/31ãæçµåºç¤¾ã§ãããæ£ç¢ºã«æ¸ãã¨éè·æ¥ã¯ããå°ãå ã§ãã å ¥ç¤¾æ¥ã2010/09/01ã ã£ãã®ã§ãã¡ããã©ä¸¸5å¹´ãçµã¡ã¾ãããå¨ç±ä¸ã¯ã社å å¤ã®çæ§ã«å¤ãã®ãååãé ããæ§ã ãªãã¨ã«ãã£ã¬ã³ã¸ãããã¨ãã§ãã¾ãããæ¬å½ã«ãããã¨ããããã¾ããã 5å¹´ããã£ã¦ããã¨ãããã¯ããæ¯æ¥é£½ããªããããè¯ãäºãæªãäºãè²ã ããã¾ããããã¨ã³ã¸ãã¢ã¨ãã¦æè¡é¢ãããã³äººéã¨ãã¦èãæ¹ã®å¹ ã大ããåºãã£ãã¨æã£ã¦ãã¦ãè¯ãæé·æ©ä¼ãé ããã¨æã£ã¦ãã¾ãã ä¼ç¤¾ã¨ãã¦ä¼¸ã³çãã®éè¦ãªå¤§è¦æ¨¡ãµã¼ãã¹ããã©ãããã©ã¼ã ãµã¼ãã¹ã«å¤§ããé¢ãããäºãæ§ã ãªæè¡çææ¦ãããã¦ããããäºããã®ä¸ã§ãããªãã®äºæ¥è²¢ç®ãã§ããäºãããã¦å¤ãã®åªç§ãªã¡ã³ãã¼ã¨å ±ã«åºæ¿ãåããªããä»äºãã§ããäºããã®å ¨ã¦ãç´ æ´ãããçµé¨ã¨ãªãã¾ããã ç§ããã£ã¦ã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}