Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?
ãä¸è©±ã«ãªãã¾ããããã³ãã¨ã³ãæ å½ããã¦ããå°åæ£å¤§ã§ããWebãã¼ã¸ã®è¡¨ç¤ºãç£è¦ãã¦å·®ç°ããã£ãå ´åãã©ã®ãã¼ã¸ã§è¡¨ç¤ºã®å¤åãèµ·ãã¦ããããç¥ããã¨ãåºæ¥ãããã°ã©ã ãå®è£ ããã®ã§ãã®ãã¨ã«ã¤ãã¦æ¸ããã¨æãã¾ãã ä½ã«ã¤ãã£ãã®ï¼ åãããã³ãã¨ã³ããæ å½ãã¦ãããµã¼ãã¹ãæçãµããªãã§å¤§è¦æ¨¡ãªããã³ãã¨ã³ãã³ã¼ãã®ãªãã¡ã¯ã¿ãªã³ã°è¡ãéã«è¡¨ç¤ºãã¹ããèªååããããã«ä½æãã¾ããããæçãµããªãã¯PCã»ã¹ããåããã¦å¤§ä½350-400ãã¼ã¸ã®è¡¨ç¤ºãã¿ã¼ã³ãåå¨ããæ¯è¼çè¦æ¨¡ã®å¤§ãããµã¤ãã§ããå ¨ãã¼ã¸ã«å½±é¿ãä¸ãããããªä½æ¥ã¯å¤§è¦æ¨¡ãªååã¨ãªããä»åã®ãªãã¡ã¯ã¿ãªã³ã°ã§ã¯è¡¨ç¤ºãã¹ãã®è¨ç»ãªã©ã®æ®µåããå¿ è¦ã§ãããå¾æ¥ã®äººæã«ããQAã§ã¯ç´°ãããã°ãè¦éããããæéããããå¹çãæªãã®ã§ãå¯è½ãªéãèªååãããã¨èãå®è£ ãã¾ããã å®è£ ã®æ¦è¦ ãã®ç£è¦ã®ã·ã¹ãã ã¯ä»¥ä¸ã®ï¼ã¤å®è£ ãçµåã
ã¿ã¤ãã«ã¯é£ãã§ãããã¿ã¾ãããRuby 3.0 ã¯ããªãå ã®å°æ¥ã®è©±ãªã®ã§ãæçµçã«ã©ããªããã¯ãããã¾ãããã§ã Ruby 3.0 ã«é大ãªå¤æ´ãäºå®ããã¦ããã®ã¯äºå®ãªã®ã§ãä¸ç·ã«èãã¦æ¬²ããã¨æãã¾ãã immutable string literal Ruby 3.0 ã§ã¯æååãªãã©ã«ãããã©ã«ã㧠immutable ï¼ç ´å£çå¤æ´ä¸å¯ï¼ ã«ãããã¨ããæ¹éãã決å®ããã¾ããã(Feature #11473: Immutable String literal in Ruby 3) ã¤ã¾ãã次ã®ãããªããã°ã©ã ãåããªããªãã¾ãã(å½ãã±ããããå°ãæ¹å¤ãã¦å¼ç¨ï¼ sql = "SELECT #{sec_id}, pt.path, st.doc_count " sql << "FROM #{stats_tablename} AS st " #### âããã§ä¾å¤: can't m
æ¬ç¨¿ã¯ããããã¹ãã§éãããã¤ãã³ãã RuPy ãã§ãPat Shaughnessyãæ«é²ãããã¬ã¼ã³ã®å 容ãã¾ã¨ãããã®ã§ãã ãã¬ã¼ã³ã®æ åã¯ãã ããè¦è´ã§ãã¾ãã æ¬ç¨¿ã¯å½åã åæ°ã®å人ããã° ã«æ稿ããã¾ããããåæ°ã®äºæ¿ãå¾ã¦ãCodeshipã«åæ²è¼ãã¾ãã ãã®ã¤ãã³ãã¯ãRubyã¨Pythonãã«é¢ããã«ã³ãã¡ã¬ã³ã¹ãªã®ã§ãRubyã¨Pythonã§ã¯ãã¬ãã¼ã¸ã³ã¬ã¯ã·ã§ã³ï¼ä»¥ä¸ãGCãï¼ã®åä½ãã©ãéãã®ããæ¯è¼ããã¨é¢ç½ãã ããã¨ç§ã¯æãã¾ããã ãã ããã®æ¬é¡ã«å ¥ãåã«ããããããªããGCãåãä¸ããã®ãã«ã¤ãã¦ã話ããã¾ããæ£ç´è¨ã£ã¦ããããé åçãªããããããããã¼ãã§ã¯ãªãã§ãããï¼ãçããã®ä¸ã§GCã¨èãã¦ãå¿ãã¨ããããæ¹ã¯ããã£ãããã¾ããï¼ãï¼»å®ã¯ãã®ã«ã³ãã¡ã¬ã³ã¹åºå¸è ã®ä¸ã§ãããã§æãæãã人ã¯æ°åãã¾ããï¼ï¼½ Rubyã³ãã¥ããã£ã§æè¿ãRub
@h5y1m141ããã«èªã£ã¦ããã ãã¦ã @hitomi_twããã shiro615ããã¨ä¸ç·ã«ãRubyGemsã®ã½ã¼ã¹ã³ã¼ããªã¼ãã£ã³ã°åå¼·ä¼ãGemJamããè¡ãã¾ããã ä»åã¯æè¿ä»äºã§ã½ã¼ã¹ã³ã¼ããèªãæéãå¢ãã¦ãã¦ãè¦å´ãã¦ããã®ã§ã½ã¼ã¹ã³ã¼ãã»ãªã¼ãã£ã³ã°ã®ã¢ããã¼ã·ã§ã³ã¢ãããã³ãã調ã¹ã¤ã¤ããã¤ãRailsã§ãä¸è©±ã«ãªã£ã¦ãããActiveSupportã ã®ã½ã¼ã¹ã³ã¼ããªã¼ãã£ã³ã°ã«ææ¦ãã¦ã¿ã¾ããã (12/28 12:10) åå¼·ä¼ã®ã¢ã¦ãããããæ´æ°ãã¾ãããå ¨å¡ã¢ã¦ããããããã®ã¯ãã°ãããã§ã ð ããã°ã©ã ã®ã¢ããã¼ã·ã§ã³ããã¯çµé¨è«ãããã話ã§ãã®ã§ããããæ£è§£ã¨ãããã¨ã§ãªããã¹ãã©ã¡ããã¨ããã¨ãä»ã¾ã§ã¨ã³ã¸ãã¢ã¨ãã¦çµé¨ãã¦ããä¸ã§ãåå人ã¯ããæã£ã¦ãã¾ãã¨ãã観ç¹ã§æ¸ãã¾ããï¼ ããã°ã©ãã³ã°ã¯ç¶ç¶ãããã¨ãä¸çªå¤§åããã°ã©ãã³ã°çµé¨ã¼ã
Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article? 2021.2.11追è¨ï¼DateTimeã¯ã©ã¹ã¯éæ¨å¥¨ãªã¯ã©ã¹ã«ãªãã¾ãã DateTimeã¯ã©ã¹ã¯éæ¨å¥¨ãªã¯ã©ã¹ã¨ãªããDateTimeã¯ã©ã¹ã§ã¯ãªãTimeã¯ã©ã¹ã使ããããå ¬å¼ã«ã¢ãã¦ã³ã¹ããã¾ããã åè1 But we consider use of DateTime should be discouraged. - matz (Yukihiro Matsumoto) https://bugs.ruby-lang.org/issues/15712#note-4 åè2 DateTime 㯠deprecated ã¨ããã¦ããã
ãRubyã®caseããä¸ç¥ãããã¼è¦ã¯ãã(è¨èªå)ã®switchãããªã©ã¨æ©åç¹ãããã®å¾ããã®çã®ä¾¡å¤ãç¥ããã¨ãªãä¸çãçµããããã°ã©ããè¿å¹´è·¡ã絶ããªããå ãã¦ããä»æ´æ¡ä»¶åå²ï¼Rubyã¯OOPãªãã ããããªã¢ãã£ãºã ãããï¼ãã¨ããHashã«Procçªã£è¾¼ãã§callããã®ããªã¬æµããã¨ãããã¶ã人ãã¡ãã¾ãå¢å ã®ä¸éã辿ã£ã¦ããã ãããªä¸ã®ä¸ã«ãã£ã¦ãã¼ãã¯ä¸è¨ãã§ããã°ã¬ãã³ã¨ä¸è¨ç³ãä¸ããããçã¾ããè²ã¡ãRubyãªã¼ããããæ¯éã¨ããããªäººãã¡ã«ãRubyã®caseãã«ã¤ãã¦ä¸è¨ç³ãä¸ãã¦ããããã â åé¡ï¼ â åånameãã¬ãã«levelããã¤ã³ãpointã®åå±æ§ãæã£ãè¤æ°ã®Characterãªãã¸ã§ã¯ãcharlie, liz, benãããã class Character < Struct.new(:name, :level, :point) def
10. ãå®å¿ã»å®å ¨ã»å®å®ã»ä¿¡é ¼ãã§ããã¤ã³ã¿ã¼ããããµã¼ãã¹ã æ±ç¨è¨èªã¨æ¯ã¹ã㨠⢠å©ç¹ ⢠ç®çãéæããããã®æä½éã®å®è£ ã§ãã ⢠ã«ã¼ããå¶å¾¡æ§é ãªã©ãå®è£ ããªãã§è¯ããã ⢠ç¹å®ã®ç®çã«ç¹åã§ããã®ã§ãæ³å®å©ç¨è ãéå®å¯è½ ⢠å°é家ãåãã表ç¾ã§è¯ã ⢠ã³ã¼ãèªä½ãåé¡ãå®çµã«è¨è¿°ãããã®ã§ãã ⢠èªç¶è¨èªé¢¨ã«æ¸ãããã®ãå¤ã 7
Ruby 2.2.0 preview1: ã¤ãã«æ¥ã¾ããï¼æçé¢æ° Kernel#itself ãªã©ãªã© ããã«ã¡ã¯ãé´æ¨ã§ãã å æ¥ï¼2014/9/18ï¼ã« Ruby 2.2.0 preview1 ãåºã¾ãããï¼ Ruby 2.2.0-preview1 ãªãªã¼ã¹ ããã¤ãæ°ããæ©è½ãå¢ãã¦ããã®ã§ãæ°ã«ãªã£ããã®ããç´¹ä»ãã¾ãï¼ï¼è©³ç´°ãªå¤æ´å 容ã¯ãã®ãã¼ã¸ã§ç¢ºèªãããã¨ãã§ãã¾ããï¼ ã¤ãã«æ¥ã¾ããï¼æçé¢æ°: Kernel#itself ããããæçé¢æ°ã¨å¼ã°ãããèªèº« (self) ããã®ã¾ã¾è¿ãã¡ã½ãã Kernel#itself ã追å ããã¾ããã ä»ã®è¨èªã§ãæçé¢æ°ãçµã¿è¾¼ã¿ã§åå¨ããå ´åããããid ã identity ãªã©ã®ååã§å®ç¾©ããã¦ãããã¨ãå¤ãã§ãããååéè¦ï¼ãã® Ruby ã§ã¯æçé¢æ°ã®å°å ¥æ¡ã¯ä»¥åããããã¾ããããååããªããªã決ã¾ããªãã£ãã¨ããçµç·¯ã
RubyKaigi 2014 ã¬ãã¼ã Aman Gupta, GitHubã§ã®Rubyã®ä½¿ããæ¹ã¨é«éåã®ãã¯ããã¯ãç´¹ä» ï½ RubyKaigi 2014 åºèª¿è¬æ¼ 3æ¥ç® 2014å¹´9æ18æ¥ï½20æ¥ã®3æ¥éãã¿ã¯ã¼ãã¼ã«è¹å ã«ã¦RubyKaigi 2014ãéå¬ããã¾ãããåºèª¿è¬æ¼ãããããã¬ãã¼ããã¦ãã¾ããã 3æ¥ç®æå¾ã®åºèª¿è¬æ¼ã¯@a_matsudaã®ç´¹ä»ãåãã¦ç»å£ãããAman Guptaï¼@tmm1ï¼ã§ããã¿ã¤ãã«ã¯ãRuby 2.1 in Productionâ ãâ ãAman Guptaã¯ç¾å¨GitHub, Inc.ï¼ä»¥ä¸ãGitHubï¼ã«å¤ããããã§ä½¿ç¨ãã¦ããé«éåã®ãã¯ããã¯ã¨ãã¼ã«ãç´¹ä»ãã¾ãããRubyæ¬ä½ã®ã³ããã¿ã§ãããAmanã«ããè¬æ¼ã¯ãå§å·»ã§ããã å½æ¥ã®ã¹ã©ã¤ãï¼PDFçï¼ã¯æ¬¡ã®ãªã³ã¯ããåç §ã§ãã¾ãã http://bit.ly/ruby21-
Ruby製ã®ãã¼ã«ãæ±ãéã«ããã©ã«ãã¨ã³ã³ã¼ãã£ã³ã°ãUTF-8ãããªãã¦äººçå³ããå ´åããã ããããã£ãã㨠èªåã使ã£ããããããªããã§ããã©ãcompassã使ãã¨ãã«SASSãã¡ã¤ã«çã¯UTF-8ãªãã ãã©Windowsç°å¢ã§compassã使ã£ã¦ãã«ããããã¨ããã¨ããã©ã«ãã¨ã³ã³ã¼ãã£ã³ã°ã®éãããWindows-31Jãããªããã®ã£ã¼ã¨è¨ãããããã ä¸è¬çãªããæ¹ã¨åé¿æ¹æ³ å½ç¶ã°ã°ã£ãããã¦ã¿ããã§ããã©ãããããã¨ã¿ã¼ããã«ä¸ã§set LANG=ja_JP.UTF-8ãããç°å¢å¤æ°ã«LANGãç»é²ãã¦ããã°è¯ãã¨æ¸ãã¦ããã ã ãããããã©ããRuby1.9ç³»ã§ã¯ããã§å¯¾å¿ã§ããããããã©ãRuby2.0ç³»ã§ã¯å¯¾å¿ã§ããªãããã ã è¿½è¨ ã³ã¡ã³ãæ¬ã§æãã¦ãããã¾ããããset RUBYOPT=-EUTF-8ã§ã¨ã³ã³ã¼ãã£ã³ã°ãæå®ããã°è¯ãã®ã§ãã*1ããã£ã¡ã®ã»
ã³ã¼ãã¯å¤å°æ¸ãããã©ãWebã¢ããªã±ã¼ã·ã§ã³ã®éçºçµé¨ã¯ã»ã¨ãã©ãªããã¨ããåæã®ä¸èªãã æ¬ã®ææ³ãã ãã ãã¨ã èªãã æ¬ Learn Ruby on Rails (è±èª) http://learn-rails.com/learn-ruby-on-rails.html æ¬å½ã«åå¿è åããªã®ã§ãååãããã¯ç°å¢æ§ç¯ãã¢ãã«ã«ActiveRecordã¯ä½¿ããã«GoogleSpreadsheetã使ã£ã¦ããã©ã¼ã ããç»é²ããã¦ã¼ã¶ã«ã¡ã¼ã«ã§éãã¨ããç°¡åãªWebã¢ããªã±ã¼ã·ã§ã³ã®ä½ãæ¹ãç´¹ä»ãã¦ãããå 容ã¯ã»ã¨ãã©ãªããã©ãé°å²æ°ã¯æ´ããã®ã§ä¸çªæåã«èªãã§ããã£ãã Ruby on Rails ãã¥ã¼ããªã¢ã« http://tatsu-zine.com/books/railstutorial ä¸åãéãã¦Twitterã©ã¤ã¯ãªWebã¢ããªã±ã¼ã·ã§ã³ãä½ãã®ã§ããã®ä¸åã ãã§ãä¸éãRails
CodeIQ åºé¡è ããã¥ã¼åé¡ãå ¬éçµäºã¨ãªãã¾ããï¼ ããããã®ææ¦ããããã¨ããããã¾ãã yieldã®ãåå¼· Lv.1 ï¼Rubyç·¨ï¼ï¼ https://codeiq.jp/ace/antimon2/q1001 ï¼ ï¼ãã§ã«åé¡ã®å ¬éã¯çµäºãã¦ãã¾ãã®ã§ãä¸è¨ URL ã§åé¡è©³ç´°ãè¦ããã¨ã¯ã§ãã¾ããï¼ åé¡æã¯çç¥ãã¾ãï¼ææ¦è ã ãã®ç¹å ¸âªï¼ããåé¡ã¯ãä¸é¨ãæªå®è£ ã®ããã°ã©ã ãå®è£ ãã¦ãã¹ããå ¨ã¦éãããã«ãããã¨ãããã®ã 以ä¸ã«ãåé¡ããã°ã©ã ã¨è§£çä¾ã示ãã¾ãã ã2014/08/20 23:45 追è¨ï¼è§£èª¬è£è¶³è¨äº å ¬éãã¾ããã åé¡ããã°ã©ã ã¨è§£çä¾ ã¾ãã¯ãåé¡ããã°ã©ã ã åé¡ããã°ã©ã ï¼ AnswerQ1 ã¯ã©ã¹ã® drop ã¡ã½ããã空ã£ã½ã®å®ç¾©ã«ãªã£ã¦ãã¾ãã ãããããã¹ããéãããã«å®è£ ãããã¨ããããã§ãã ãã¹ãã§è¦æ±ãã¦ããã®ã¯ã大ä½æ¬¡ã®éãï¼
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}