Railså ¥éã§ãã require 'active_support'ã§active_supportãèªã¿è¾¼ãã Rubyã§ã¯ãçå½å¤å®ã«ä»¥ä¸ã®ã¡ã½ããã使ãã¾ãã nil? Rubyã®æ¨æºã¡ã½ãããnilã®å ´åã®ã¿trueãè¿ãããã以å¤ã¯falseãè¿ããnilã¨falseãå¤å¥ãããå ´åãªã©ã«ã==æ¼ç®åã使ããã«æ¸ããã empty? String ã Array ã«å®è£ ããã¦ããã¡ã½ããã空ã®æååã空ã®é åã®å ´åã«trueãè¿ããnilã«å¯¾ãã¦å¼ã³åºãã¨NoMethodErrorãçºçããã blank? nil? or empty? ã®ãããªã¡ã½ãããnilã¾ãã¯ç©ºã®ãªãã¸ã§ã¯ããå¤å®ã§ããã present? !blank? ãå®è¡ããã¡ã½ãããunless hoge.blank? ã¨ããããããªããif hoge.present? ã¨ããã»ããelsifãæ¸ããããã£ããã
Skip to main content
Skip to main content
ã¯ããã¾ãã¦ã® tacamy ã§ãã ãã¦ä»æ¥ã¯ Less & Sass Advent calendar 2011 ã® 3 æ¥ç®ã§ãã ãSassãããã¾ã¼ãããã«ä¾¿å©ããã ãã©ã å®åã§ä½¿ãããåãããªããèªåã«ã¯é¢ä¿ãªãããªãã ã¨ãæã£ã¦ã¾ãããã»ã»ã»ï¼ï¼ ãããããããªãã¨ãªãã§ããï¼( ï½¥`Ï・´) ãã®è¨¼æ ã«ãNAVER ã§ã¯åå¹´ã»ã©åããã æ°è¦ãµã¼ãã¹ã¯ãã¹ã¦ Sass ã使ã£ã¦å¶ä½ãã¦ãã¾ãããåé¡ãªã使ãã¦ãã¾ãã ãããå¹çåã§ãã¦ãCSS ãæ¸ãå·¥æ°ãæ¸ã£ãæ°ããã¾ãï¼å人ã®ææ³ã§ãï¼ã å°é£ãããã¯ããã¯ã¯ããã®ãã¨ã® 22 人ãæ¸ãã¦ãããã¨æãã®ã§ï¼ä¸¸æãï¼ã ä»æ¥ã®è¨äºã§ã¯ãSass ãå®åã§ä½¿ããã¨ã«çµã£ã¦æ¸ãã¦ã¿ã¾ãã å®åã§Sassã使ãã¡ãªããã£ã¦ï¼ å¶ä½ã®å·¥æ°ãæ¸ã CSS3 ã使ãã¨ãã®ãã³ãã¼ããªãã£ãã¯ã¹ããã¡ãã¡èªåã§ã¤ãããã
ããé¢ç½ãäºä¾ã§ããã¼ãåå¼·ãã¦ãã¡ã¢ããå ±æã Case study: Facebook mobile install ads take app from No. 253 to No. 5 in App Store 253ä½ãã5ä½ã« Facebookãå æ¥ãã¼ã³ãããã¢ããªã¤ã³ã¹ãã¼ã«åºåã®è©±é¡ã§ãã Nanigansã¨ããåºåä¼ç¤¾ããFacebookã®ã¢ããªã¤ã³ã¹ãã¼ã«åºåãå±éããã¨ãããã«ãã´ãªã¼253ä½ããã«ãã´ãªã¼5ä½ã«ã¾ã§ã©ã³ãã³ã°ãä¸æããã¨ã®ãã¨ã 以ä¸ãäºä¾ã®æ¦è¦ãç®æ¡æ¸ãã§ã ã»Eã³ãã¼ã¹é¢é£ã®ã¢ããªãããã¢ã¼ã ã»10æ¥éã§325,000ãã«ï¼ç´2,800ä¸åï¼ãæ¶è²»ï¼äºç®è¦æ¨¡ã§ããã§ããâ¦ï¼ ã»éç®ã¤ã³ãã¬ãã·ã§ã³æ°ã¯3,250ä¸åä»¥ä¸ ã»CTRã¯0.74%ãã³ã¢ã»ã°ã¡ã³ãã§ã¯1.5%ãè¨é² ã»CPCã¯å¹³å$1.35ãã³ã¢ã»ã°ã¡ã³ãã§ã¯$0.50 ã»10æ¥éã§2
[èªäºæéï¼2å] ITç£æ¥ã¯æ±äº¬ã«ä¸æ¥µéä¸ãã¦ããç£æ¥ã®ï¼ã¤ãç£æ¥ã1ã¶æã«éç©ããã°ããã»ã©ãããã§ã¨ã³ã·ã¹ãã ãèªçãããããªãéç©ã«ã¤ãªãããç±³ã·ãªã³ã³ãã¬ã¼ã¯ãã®å¥½ä¾ã ããæ±äº¬ãããããã¨ã³ã·ã¹ãã ã«ãªãã¤ã¤ãããå°æ¹èªæ²»ä½ã®ä¸ã«ã¯ãããçãæ¥æ¬ã®ã·ãªã³ã³ãã¬ã¼ã«ãã¨é å¼µã£ã¦ããã¨ããããããããªããªãææãåºãªãã®ãç¾ç¶ã ããããªä¸ã大éªã§æ¬æ ¼çãªæè¡åã§åè² ãããã³ãã£ã¼ä¼æ¥ã«åºä¼ã£ããã·ã«ãã¼ã¨ãã°ã»ãã¯ããã¸ã¼æ ªå¼ä¼ç¤¾ãããã§ãå社ã«ããã¨é¢è¥¿ã«ä½ç½®ãããã¨ã§ããã£ã¦åªç§ãªå¦çãæ¡ç¨ãããã¨ãã§ããã®ã ã¨ããã ã·ã«ãã¼ã¨ãã°ã»ãã¯ããã¸ã¼ã¯ãç±³å½ã®äººå·¥ç¥è½é¢é£ã®ãã³ãã£ã¼ä¼æ¥ã®æ¥æ¬æ¯ç¤¾é·ã ã£ããã¼ãã¹ã»ãã©ã¼ãªã¼ããã1998å¹´ã«åµæ¥ããã©ã¼ãªã¼ããã«ããã¨ãæ¥æ¬ã§åµæ¥ããã®ã¯ãã¯ã¤ããæ¥æ¬äººã ãããã妻ã§å社å°ååç· å½¹å ¼COOã®è¥¿ææ·³åããã¯ããããã«ãã¦ãã¨è¨ã£ã¦å¸°
èå¼±æ§ã¯èªè¨¼ã·ã¹ãã ã®è¿åãä»»æã®SQLæ¿å ¥ãä»»æã®ã³ã¼ãæ¿å ¥ã¨å®è¡ãRailsã¢ããªã±ã¼ã·ã§ã³ã«å¯¾ãããµã¼ãã¹å¦¨å®³ï¼DoSï¼æ»æãªã©ã«å©ç¨ãããæããããã ãªã¼ãã³ã½ã¼ã¹ã®Webã¢ããªã±ã¼ã·ã§ã³éçºãã¬ã¼ã ã¯ã¼ã¯ãRuby on Railsãã®ã»ãã¥ãªãã£ã¢ãããã¼ããå ¬éããã極ãã¦æ·±å»ãªèå¼±æ§ãä¿®æ£ããããå ¨ã¦ã¼ã¶ã¼ã«å¯¾ããç´ã¡ã«ã¢ãããã¼ãã¾ãã¯åé¿çãé©ç¨ããããå¼ã³ããã¦ããã Ruby on Railsãç±³ã»ãã¥ãªãã£æ©é¢US-CERTã1æ8æ¥ã«å ¬éããã»ãã¥ãªãã£æ å ±ã«ããã¨ãRuby on Railsã®ãã©ã¡ã¼ã¿è§£æã³ã¼ãã«è¤æ°ã®èå¼±æ§ãåå¨ãããèªè¨¼ã·ã¹ãã ã®è¿åãä»»æã®SQLæ¿å ¥ãä»»æã®ã³ã¼ãæ¿å ¥ã¨å®è¡ãRailsã¢ããªã±ã¼ã·ã§ã³ã«å¯¾ãããµã¼ãã¹å¦¨å®³ï¼DoSï¼æ»æãªã©ã«å©ç¨ãããæããããã ãã®èå¼±æ§ã¯Ruby on Railsã®å ¨ãã¼ã¸ã§ã³ãå½±é¿ãåããå±éºåº¦
hubãç¨ãã¦Issueã«masterã¸ã®Pull-Requestãéãæ¹æ³ã¯ä¸è¨ã§ãç´¹ä»ããã¦ããã GitHub ã® Issue ããã¨ãã Pull Request ã«ãã (ãã¨ããã³ã¼ããæ·»ä»ãã) master以å¤ã¸Pull-Requestãéãã«ã¯ã-bãªãã·ã§ã³ãã¤ãã¦ãPull-Requestãéããããã©ã³ããæå®ããã¨ã§ããã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}