2016-08-01ãã1ã¶æéã®è¨äºä¸è¦§
ã¬ã¤ãã·ã§ã¼ã§ãåã®åã¯ããã®2åç®ã観ã«è¡ããã¨ããããã©ãã©ããæºå¸ãããããã°åè¦ã®ååã¯ã¬ã¤ãã·ã§ã¼ã§ãã¾ãã¾ã©ã¹ã1å¸ãåããã®ã ã£ãã æ ç»ã観ããªããªãå°èª¬ãèªãã°ãããããªãã¨ãããã¨ã§ãæ¸åºã§å°èª¬ãè²·ã£ã¦èªãã§ãã å°èª¬ åã®â¦
æ¥å¹´ã«åããè¯ããµããããã ã£ãã¨æãã
Rails ã¢ããªã±ã¼ã·ã§ã³ã®ãã¹ããé ãè¦å ã¯ã»ã¼ Feature Spec ãããã¨ã§ããããªä½æ¥ãªããããã¦ããããã ç¡é§ã« DatabaseCleaner.strategy 㧠:truncation ã使ã£ã¦ããç®æã :transaction ã使ããã metadata ãã¡ã³ããã¾ããã ãã®ç°¡åãªãä»äºââ¦
å¤ãããã«èµ·ãã¦ãå«è¶åºã«è¡ã£ã¦ Deep Purple ã® Slaves and Masters ãèããªãããè¬æ¼ã¨ LT ã®ããã«ãããã¼ã«ãªã XP ç¥ãåãã® LT ã®æ¹ã®æºåãé²ããããã¦ãã
æå¾ ä»¥ä¸ã®åä½ã ã£ããä¸ã ãã¿ã©ãããç¡é§ãªæåãã¾ã£ãããªãã£ããã¾ã観ããã
ãã¤ã¯ãã½ããã§ã¨ãã³ã¸ã§ãªã¹ãããã¦ããçå°¾åãããå¤åå ã«æå¾ ãã¦ã® DevOps åå¼·ä¼ã ã£ãã ã¢ã¸ã£ã¤ã«ã½ããã¦ã§ã¢éçºããªã¼ã³ãã¯ã©ã¦ããã¯ããã¸ã¼ã¨ãã£ããã®ãããã¯ãããã®ã DevOps ã¨ããæ´å²ã®ç©ã¿éãã«ååãã¤ãããã®ã¨ãã£ãæãâ¦
ãµããããã§åºã¦ãããªãã§ãRailsã®ã³ã¼ããªã¼ãã£ã³ã°ãã¯ã¼ã¯ã·ã§ããçã«ã³ã¼ããæ¸ãããããã°ã«ã¼ãåãã§ããµã ãã®ä»äºã§æ¥ãããã¨ã®ãªãçµã¿åãããåºæ¥ãã¨ãã話ã¯ãããã«ãªã¼ã¨æã£ãããã¦å°è±¡ã«æ®ã£ãã TIL ã¨ãã¨ã ActiveRecord::Findâ¦
æ¨æ©å ¬éããã RubyKaigi 2016 ã®ã¹ã±ã¸ã¥ã¼ã« ãæ°åæ°ã¨è¦ã¦ãããwillnet ããã®ææ°ä½ãæ¸ãããä»æ¥çºå£²ã® WEB+DB PRESS Vol.94 ãèªãã®ãã¹ã¹ã¡ãããã¦ããã WEB+DB PRESS Vol.94ä½è : è¤åä¿ä¸é,æ½æ¨æ,å «æ¨ä¿åº,åç°å¤ªä¸é,ãããã¿,ã®ããã²ãâ¦
å¤åå ã§è¡ããã¦ãã Rails åå¼·ä¼ããã¯ãããã¦è¡ã£ã¦ãããä»æ㯠ROM (Ruby Object Mapper) ã®è©±ã ginzarb.doorkeeper.jp ä»åã y-yagi ããã®çºè¡¨ãã¨ã¦ãæ´çããã¦ãã¦åãããããã£ãã ä¸å¿æ¨æ¥ã®è³æããã¨ãã / Introduction to ROM // Speaâ¦
ä¼ç¤¾ã«è¡ã£ã¦ä»äºããã¦ãããOracle ã使ã£ã Rails ã¢ããªã±ã¼ã·ã§ã³ã® Rails 5 対å¿ã«ã¤ãã¦è¦ã¦ããã㦠rails db:migrate ã§è½ã¡ãåé¡ã«ããã£ã¦ããéãªã¯ã¼ã¯ã¢ã©ã¦ã³ããªå¦ç½®ã以ä¸ã§ãã£ã¦ã¿ãããã©ãupstream ã«æããã¹ãæ¬å¯¾å¿ã¨ãããããã®â¦
ä»é±ããããã®å¶æ¥æéã«èµ·ãããã¨ãã§ãã1åä¼ã¿ã
å¾åããåå ãã¦ããã regional.rubykaigi.org 1syo ããã®çºè¡¨ã§ãè¨å®ãã¡ã¤ã«ã¨ãªã YAML ã®ç®¡çã©ããã¦ãã話ãSettingsLogic / Config / Global ã®3ã¤ã®æåãªè¨å®ã©ã¤ãã©ãªãã¡éå§ã¯ Config ã«ç¦ç¹ããã¦ã話ã ã£ãããã©ããã¡ã¤ã«ã大ãããªãâ¦
å æ¥ä»¥ä¸ã®ããã«èãã¦ããã®ãé©ç¨ãã¦ãªãªã¼ã¹ããã å£ããããã¢ã³ãã¼ããããªã®ã§ Rails 4.2.z ãã¼ã¸ã§ã³ã®ä¸éãä»ãã¦ããããã©ãã¡ã³ããã³ã¹ãã§ã¼ãºã¨ãªã£ã Rails 4.2.z ã«ãããªã«å¤æ´ã¯å ¥ãããã«ãªãã®ã§ã4.2.z ãã¼ã¸ã§ã³ã®ããããã¼ã¸â¦
å æ¥ã®ç¶ãã å¼ãç¶ã以ä¸ã cherry-pick 㧠backport ããã Ruby ã® breaking change ã«ãã key must be 32 bits ã¨ã©ã¼ã®å¯¾å¿ãçµã¿è¾¼ã ... https://github.com/rails/rails/issues/25185 ã¿ã¤ã ã¾ã¼ã³ã¾ããã®å¯¾å¿ãçµã¿è¾¼ã ... https://github.com/â¦
æ¸è°·.rb ã«ååå ããããã¿ãæã¡å¯ã£ã¦ç¸è«ãããããããããããã¨ãã£ãæãã§è¯ãã£ãã shibuyarb.doorkeeper.jp Rubocop ã® RuboCop::Cop::Performance::RedundantSortBy ã«ã¤ãã¦ãããã©ã¼ãã³ã¹è¦³ç¹ã¨ããæå³ã§ã¯sort ãããªã㦠sort_by ã使ãâ¦
Ruby 2.4.0 (dev) 㧠Rails 4.2.z ãåãã試ã¿ããã¦ããã ãã¾åãã£ã¦ããéãã ã¨ä»¥ä¸ã®ããããåãè¾¼ãå¿ è¦ãããã (Rails èªä½ã® bundle install ããããã®ã§) ã¬ã¬ã·ã¼ã® MySQL ã®ã¢ããã¿ãå¤ã ... https://github.com/rails/rails/pull/26135 â¦
å æ¥ãªãªã¼ã¹ããã Rails 4.2.7.1 ã«å¯¾å¿ãã activerecord-oracle_enhanced-adapter-monky_patch_755 ããªãªã¼ã¹ããã å£ããããã¢ã³ãã¼ããããªã®ã§ Rails 4.2.z ãã¼ã¸ã§ã³ã®ä¸éãä»ãã¦ããããã©ãã¡ã³ããã³ã¹ãã§ã¼ãºã¨ãªã£ã Rails 4.2.z ã«ãâ¦
ã¤ã¤ãã³ã¨ã©ã¤ããã³ã°ã±ã¼ãã«ã¯æ¶èåã¨ãããã¨ã§ãã©ããä¸ã§æç·ãã¦ããã£ã½ãã©ã¤ããã³ã°ã±ã¼ãã«ãé販åºã«è¡ã£ã¦è²·ãç´ããã
ãã¾ã MacBook Pro ã®é»æºãè½ã¨ããã¨ã¯ãªãã¦ãã ããããã¤ãã¼ãã¼ã·ã§ã³ã«ã¾ããã¦èãéããã ããªã®ã§ãããã¾ãã«ãããã¤ãã¼ãã¼ã·ã§ã³ãæãããªãç¾è±¡ããã¤ãå¤ã®æ°æ¸©ã« MBP ããããã¦ãã¾ã£ã¦ããããã ã£ãã çç¶ã¨ãã¦ã¯ãé»æºé·æ¼ãã§èµ·â¦
Rails 4.2.z ã Ruby 2.4.0-dev ã§åãããã¨ããå ´åã«ãUnified Integer ã®å½±é¿ã§ããããã¨åããªãããã ãã©ãæåã« bundle install 㧠native ã®ã¨ã©ã¼ã«ãªã mysql ã¸ã®ä¾åãåãã³ããããããã¯ãã¼ãã㦠PR ãéã£ãã github.com mysql ã¢ããâ¦
Rabbit ã§ä½ã£ã¦ããã¹ã©ã¤ãã®å ãã¡ã¤ã«ã«ã¤ã㦠GitHub ã§ç®¡çãããã¨ãã¦ããã®ã«çæãå§ããã github.com Keynote ã§ä½ã£ã¦ãããã®ã¯ç§ä¼ã®ã¿ã¬ãå¤ãã®ã§ããã¾ã®ã¨ããå ¬éã¯ããªãããªã¨æã£ã¦ããã ã¤ã¼ã¹ VIII ãã¯ãªã¢ãã ãã¬ã¤æé 65æâ¦
é·å´ãç¦äºã¨å é±ã®åºå¼µç¶ããç¥ã£ã¦ä½åãå°½ããã®ã§å¤ä¼ã¿ãã¨ã£ã¦ä¸åä¼ã¿ã
å¤ä¼ã¿ã®ä¸æ¥ã«åºç¤¾ãã¦ãæ°åæ°ã« Shift_JIS 㨠CP932 ãªã©ã®ä¸é¨ã®ã¨ã³ã³ã¼ãã£ã³ã°ã®é»æ´å²ã話ããããã¦ããã
é£ã³å¤ä¼ã¿1æ¥ç®ã¨ãããã¨ã§ãæå¯ãã®æ ç»é¤¨ã«ã·ã³ã»ã´ã¸ã©ã観ã«è¡ã£ãããã¹ã¿ã¼ã»ã¦ã©ã¼ãº EP 7ãããããããã¯ã¹ã以æ¥ã®æ ç»é¤¨ã ã£ãã
ãã¿ãªã
åå¤å±ãããã«å¯ã£ã¦ããæ±äº¬ã«æ»ããã¨æã£ãããã©ãä½åãå°½ãã¦ãã¦çã£ããæ»ãã¾ããã
ä»å¹´2åç®ã®ç¦äºã«è¡ã£ã¦ãããæ親ä¼å¾ã®3次ä¼ã§ TDD ã¾ããã®è©±ããã¦ããã Red â Commit â Green â Commit â Refactor â Commit â ... ã¯æè²çã«ã¯çéã ãç¾å ´ã¨ãã¦ã¯é ã ã¾ããéçºéä¸ã®çµéã詳ããç¥ãããããã§ã¯ãªãã®ã§ããããã¯ãã©ã³ãã§â¦
GTO (ã°ã¬ã¼ã転è·æ¡æãããã) ã«å°±ä»»ããã¸ã§ã¼ã«ã¼ããããç¥ãããæ島ã®ãã«ã¢ã³ç¼ãå±ã«è¡ã£ã¦ã¾ããã
ã¿ãã¨ã·ã¨å¼ã°ããç«ã¡é£²ã¿å½¢å¼ã®ç§åã§ååã¨æ©ã飯ãé£ã¹ã¦ããç¥ç°ã«ç§åã2åºèãããã¨ãç¥ã£ãã®ã§ãä»å¾ä½ãã®æã«å©ç¨ãã¦ã¿ããã
@kenta-s ã "Rails ã«ããããæããã¾ã§ã¡ã·æã" (ãã¸ã!?) ã¨è¨ãããã¨ãã«ãa XHTML ã an XHTML ã«ä¿®æ£ããããããæããããããåæ§ã« a HTML ã an HTML ãééãããã¦ãããã¨ãããã¨ã®è©±ãèãããruby/ruby ãªãã¸ããªã§ ag 'a HTML' ã§æ¤â¦