2017-06-01ãã1ã¶æéã®è¨äºä¸è¦§
æ°åæ°ãºã®ã²ã¨ããããbundle open ã§ä¾å gem ã«ä»è¾¼ãã binding.pry ãå¼ã£æãããªãã¨ã®ç¸è«ãåãã¦ããããå æ¥å°å ¥ãã Bootsnap ãå½±é¿ãã¦ããã®ã§ã¯ã¨æããã£ããå¤ãã¦ã¿ãææ¡ãããããã³ã´ã ã£ããæãã¾ãã£ã¦ããªããã調æ»ã¯ãã¦ããªãâ¦
å æ¥å½é¸éç¥ãããã£ã¦ãã TokyuRubyä¼è°11 ã®ã¿ã¤ã ãã¼ãã«ãå ¬éããã¦ãã¦ã第äºé¨ã®æ ã§ãããã¨ã確èªããããã¦ããã https://tokyurubykaigi.github.io/tokyu11
ã¹ãã¼ãã®åå¤æãä¸æ¬ã§è¡ãªããã¤ã°ã¬ã¼ã·ã§ã³ãã¡ã¤ã«ãçæãã Gem ã¨ãªããæ¨æ¥ã® Rails (OSS) ãããä¼ã§åæå®è£ ã®ç®å¦ãçãã¦ãªãªã¼ã¹ããã github.com Gemfile ã« gem "screamers" ã¨è¿½å ãã¦ãbundle install ãã㨠bin/rails g screamers:miâ¦
æèµ·ããã Rails 5.1.2 ããªãªã¼ã¹ããã¦ããæä¸ã ã£ãã å人çã«æ®éçãªå½±é¿ãããããã ã¨æã£ãã®ããActiveSupport::Duration:: Scalar ã«æãå ¥ã£ãä»¥ä¸ Fix implicit coercion calculations with scalars and durations ã®å¤æ´ã¨ãªãã github.comâ¦
å¤åå ã®ãã©ã¤ãã¼ãã«ã³ãã¡ã¬ã³ã¹ã ã£ããè¬æ¼ã®ãªãã¡ã¼ããã£ãéã«ãkakutani ãç»å£ããã¨ãããã¨ã¨ãããã å 壽ãã§ã®æã¡ä¸ããã®ã£ã©ã«å¼ãåãããèªåã®è¬æ¼ã¯å»å¹´ã®ã¢ã¸ã£ã¤ã«ã¸ã£ãã³é·å´ãµãã©ã¤ãã§ã®è¬æ¼ã®åæ¾éã®ä¾é ¼ã ã£ããããã¿ã¤ãâ¦
ãããã tmux ãããªãã®ãã¨ãã話ã¯ããã¦ããã¨ãã¦ãC-a ã¨ã¶ã¤ãããªããã°éã« C-z ã¸ã®å¼·ããã ããããªããããè¿é£ã§ãã¸ã§ãªãã£ã ã¨èãã¦ããã¹ã¿ã¤ã«ã«åãããã C-z æ´¾ã¨ã¯ä¸ç·ã«ä»äºã§ããªãï¼ãâ Takafumi ONAKA (@onk) 2017å¹´6æ23æ¥ difâ¦
toshiwo ããã«ãå¼ã°ããã¦ã·ã¡ã·ã¡ã¨ä½æ¸©èª¿çã®èãé£ã¹ã«è¡ã£ãã ç¹ã«ãµã¼ãã¤ã³ã®ç¾å³ããåçºè¦ã§ããèã®ä¼ã ã£ãã
æå ã® MBP ã® SSD ã®ä½¿ç¨é åã大å¤ãªãã¨ã«ãªã£ã¦ãããããrbenv ã§ã¤ã³ã¹ãã¼ã«ãã¦ãã ææ°ã® Ruby ãã¼ã¸ã§ã³ä»¥å¤ã® GEM PATH ã®ãã£ã¬ã¯ã㪠(gem env ã§ç¢ºèª) ãåé¤ãããã¨ã«ããã ~/.rbenv/versions/ é ä¸ã®åé¤ãããã£ã¬ã¯ã㪠(ãã¼ã¸ã§ã³) â¦
å æ°åæ°ã®ããã¸ã§ã¯ã壮è¡ä¼ã ã£ããä½äººãã®åæ¥çãåå ãã¦è¯ãä¼ã§ããã
æ¸è°·.rbã«è¡ã£ããä¼å ´ã¯ãã¯ã¹ã¿ããã shibuyarb.doorkeeper.jp èªåã¯å æ¥ãªãªã¼ã¹ãã Everlasting ã¨ãã Gem ã®ç´¹ä»ã軽ã話ã®ãã¿ã¨ãã¦æã£ã¦è¡ã£ãã github.com æ¦ã以åã®æ¥è¨ã«æ¸ããå 容ããã¼ã¹ã¨ãªã£ã¦ãã¦ããã¬ã¼ã³å 容ã¯ã½ã¼ã¹ã³ã¼ãã ãâ¦
Ginza.rb 第48å Shopifyã®ãå®ãæè¦ãããï¼ã«è¡ã£ã¦ãããä¼å ´ã¯ãã¤ãã®ã¿ããªã®ã¦ã§ãã£ã³ã°ããã ginzarb.doorkeeper.jp Shopify ã GitHub ã«å ¬éãã¦ãã Ruby ã®ãããã¯ãã Star é ã«ä¸¦ã¹ããã®ãè¦ã¦è¡ãã¨è¡ã£ãã¹ã¿ã¤ã«ã ã£ãã github.com â¦
èªä½ Gem ã®éçºããrails/rails ã§è½ã¡ã¦ãã JRuby ã®èª¿æ»ãããããããã¨ä¼å ´ä¿å ¼åã§åå ããã oss-gate.doorkeeper.jp ååå ã® yucao24hours ã JRuby ã®èª¿æ»ã«èå³ãããã¨ã®ãã¨ã ã£ãã®ã§ãç¾å¨èµ·ãã¦ããåé¡ã®å ±æã JRuby ã®ã¤ã³ã¹ãã¼ã«ãraiâ¦
å°éä¸ç±ç¾ä½åã®ã³ãã«ã©ã¤ãºã§ããµã¨åå·»ããæ¢ã¾ã£ã¦ãããã¨ãæãåºãã¦èª¿ã¹ããçµæ§åã«æ°åãã§ã¦ããã®ã§ãããã£ã¨é»ååªä½ã§è³¼å ¥ãã¦èªãã ããã¦ããã æªå¤¢ã®æ£²ã家 ã´ã¼ã¹ããã³ãï¼ï¼ï¼ (ARIAã³ããã¯ã¹)ä½è : å°éä¸ç±ç¾,ããªã è©©ç©åºçâ¦
大éç ®å¹²ãã®ä¸åã©ã¼ã¡ã³ #ã©ã³ã pic.twitter.com/1xT9fbWMTmâ Koichi ITO (@koic) 2017å¹´6æ17æ¥ ãããã§ã©ã¼ã¡ã³ãé£ã¹ãå¾ãåæ¥ããã使ã£ã¦ RubyKaigi 2017 ã® CFP ã submit ãã¦ããã
æ®å¿µã§ã¯ãããã®ã®å æ°åæ°ãå½é¸ãããããã®ã§ãããæå³èªåã®å½é¸ãã価å¤ããçãä»ããåºæ¥ãã®ã§è¯ãã¨ããæ°æã¡ã¨ããã
Rails ã«ããããAPI Documentation Guidelinesãããã®æç²ã The proper names of Rails components have a space in between the words, like "Active Support". ActiveRecord is a Ruby module, whereas Active Record is an ORM. ã¨ãããã¨ã§ ORM ã¨ãâ¦
fkino ãå¤åå ã§åéãããããé§ ãã±ãã¨ã§æåãªã´ã¡ã«ç 究æããã®è¦å¦ãã¢ã¼ã«è¡ã£ãã éçºé¨éããã以å¤ã®é¨éãªã©ããã¤ãã®é¨ç½²ãæ¡å ãã¦ããããé¨ç½²ãã¨ã®æ¥åæ å ±ãæ§é åãããæ§ã ãªã«ã³ãã³ãè¦ãã¦ããã£ããç¹ã«å°è±¡ã«æ®ã£ãç¹ãæãããâ¦
ãªãã»ã©ã class Foo module M end def foo class << self puts "*** #{M}" prepend M end end end class Bar < Foo module M end def foo class << self puts "*** #{M}" prepend M end end end Foo.new.foo # => "*** Foo::M" Bar.new.foo # => "*** Bar:â¦
github.com MRI 㧠Oracle enhanced adapter ã使ã£ã¦ããã¦ã¼ã¶ã¼ã®èå³ãã²ããããªæ©è½ã¨ãã¦ã¯ã 以ä¸ã®ãã㪠TCP keepalive ã®ããããã£æå®ãã§ããããã«ãªã£ã¦ããã OCI8.properties[:tcp_keepalive] = true OCI8.properties[:tcp_keepalive_timeâ¦
ç²ããæºã¾ã£ã¦ãããã1åä¼ã¿ã
æ¨æ¥ã® esm LT #3 ã§è©±ããã¿ã¤ãã«ããLove your neighbour Gemsãã ã£ããã¹ã©ã¤ãã¯æªå ¬éã éçºè ãè¿æã«ãã Gem ã使ããã¨ã®ã¡ãªããã«ã¤ãã¦è©±ããå¾ã«ãå ·ä½çãªããã¤ãã®ãè¿æãããé¢ãã£ã¦ãã Gem ã«ã¤ãã¦ç´¹ä»ãã¦ããã å°ãç°è²ãªã¨ããâ¦
ç§åã®ç¼ãé³¥ãã¤ã¾ã¿ã¤ã¤ã®ç¤¾å LT 大ä¼ãmuryoimpl ãããã¥ã¼ã¹ã®ãã®ç¬¬3åã ã£ãã å人çã«ã¯æ°åæ°ãºã®ã²ã¨ãã® LT ããOJT é å±åã®ç ä¿®æéã§ã©ããªè¨èãé¿ãã¦ãã©ã®ãããªã¢ã¯ã·ã§ã³ãèµ·ããã¦ãã©ãæãã¦ãããã¨ãã話ãèããã®ããããè¯ãâ¦
ãªããªããä¹ ãã¶ããªçµã¿åããã®ã¡ã³ãã¼ã§æ©ã飯ãé£ã¹ã¦1åä¼ã¿ã
Rails 5 㧠ActionController::Parameters ã Hash (ActiveSupport::HashWithIndifferentAccess) ãç¶æ¿ããªããªã£ããã¨ã§ä½ã£ã Gem ã¨ãªãã github.com Rails 4 ç³»ãã Rails 5 ç³»ã«ã¢ããã°ã¬ã¼ãããã¢ããªã±ã¼ã·ã§ã³ã§ãAC::Parameters ã«å¯¾ã㦠Hashâ¦
ååã® CFP ä½æã®æå¼ãããããããµã¨æãã¤ãã Gem ã®ãããã¿ã¤ããä½ã£ãããã¦ããã
以å Qiita ã«æ¸ãããã¹ãã®ä¸¦ååã«é¢ããç¶ç·¨ãã®ã Railsã¢ããªã±ã¼ã·ã§ã³ã®ãã¹ãé«éå (Oracleç·¨) Railsã¢ããªã±ã¼ã·ã§ã³ã®ãã¹ãé«éå (Solrç·¨) Redis ã®ã¤ã³ã¹ã¿ã³ã¹ä¸ã§åå空éã使ã£ã¦ã並åå¦çã«å¯¾ãããªã½ã¼ã¹åå²ããã®ããªã¼ãºããã«ãªãâ¦
æ°åã®ãã³ã¬ãèªãã ããè¿æã«æ°ããåºæ¥ãã³ã³ããã«è¡ã£ããããã
ã¿ã¤ãã³ã°ã«ãã£ã¦è½ã¡ããã¨ã®ãããã¹ããè¦å§ããã CFP ãèãã¦ãããããã
Rails 㧠Solr ã使ã Sunspot ã¨ãã Gem ã使ã£ãéã®ãã©ãã«ã·ã¥ã¼ãã£ã³ã°çãªãããã¯ãè¨ãã¦ããã rake sunspot:solr:start ãã¦ããã®ã« Rails ã¢ããªã±ã¼ã·ã§ã³ãã Solr ãµã¼ãã¼ã¸ã®æ¥ç¶ã«å¯¾ã㦠Connection refused (RSolr::Error::Connectionâ¦
ç´åã«æãç«ã£ã¦è¡¨åé.rb #23ã«è¡ã£ããä¼å ´ã¯è¡¨åéã® Sansan ãããªãã£ã¹ã omotesandorb.connpass.com Ruby / Rails ãèªåãã©ãå¦ãã ãã¨ãã話ãå¤ãã£ãã¨ãããã¨ããã After Rails 㧠Rails ãã©ãå¦ãã ãã«ç¦ç¹ãããã£ãå 容ãå¤ãã£ãããâ¦