Slides for my keynote at RubyConf Indonesia 2019 in Jakarta https://ruby.id/conf/2019/ #RubyconfID
Rails Developers Meetup 2019ï¼2019/03/22 - 23ï¼
ã¯ããã« ãã®ããã°ã§ãä½åº¦ãç´¹ä»ãã¦ããã女æ§ãåå ããããï¼ã§ã女æ§éå®ã§ã¯ãªãï¼Rubyåå¼·ä¼ããTokyoGirls.rb Meetupã®è¨å¿µãã¹ã第ï¼åã2019å¹´3æ2æ¥ã«éå¬ãã¾ããã TokyoGirls.rb Meetupãéå¬ãããã¨æã£ãç®çãèæ¯ã¯ä»¥åæ¸ãããã¡ãã®ã¨ã³ããªã«ã¾ã¨ãã¦ããã¾ãã ä»åã®ã¨ã³ããªã§ã¯ããç·å¥³ã®åå æ¯çããç¡æè¨å 室ããæ親ä¼ã®ã¼ã£ã¡å¯¾çãã¨ãã3ã¤ã®ãã¤ã³ãã«æ³¨ç®ããªãããå½æ¥ã®æ§åãéå¶ä¸ã®å·¥å¤«ãæ¸ãã¦ã¿ããã¨æãã¾ãã ããããã ã¯ããã« ãã¤ã³ããã®ï¼. ãç·æ§ã°ãããã§ãã女æ§ã°ãããã§ããªãç·å¥³æ¯çã«ãªãã¾ãã åå è ã®ææ³ï¼ã¨åèªèº«ã®ææ³ï¼ ç·æ§ã¨ã³ã¸ãã¢ã«ãä½ãããã®æ°ã¥ããä¸ããããåå¼·ä¼ã§ãã ãèªåã¯ç·æ§ã ããèå³ããªããªããã¨ããæ¹ã ãã¤ã³ããã®ï¼. ç¡æã®è¨æè¨å 室ãæä¾ãã¾ãã ãªããªã大å¤ã ã£ãè¨æè¨å 室
ãã®è¨äºã¯ Rubyããã¦Railsãããããåå¼·ãããæ¹ã«ãã©ããªæè¡ãåå¼·ããã°ãããã¨ããããã®æè¡å ¨ä½ã®ã¬ã¤ãããããå³ç¤ºãã¾ããããã¦ãããå¦ã¶ããã®è³æï¼æ¸ç±ãWebè¨äºã»ãï¼ãç´¹ä»ãã¦ããã¾ãããã®è¨äºã¯ãé ã®ä¸ã«æè¡å ¨ä½ã®å°å³ãæããã¤ã¡ã¼ã¸ãã¦ãããã®ãçãã§ãã Railsã¢ããªãä½ãã¨ãã«å¿ è¦ã«ãªããããã®æè¡ã«ã¤ãã¦èª¬æãã¦ããã¾ãããæ¬å½ã«ããããã®æè¡ãåºã¦ãã¾ããã¾ã å¦ãã§ããªããåãããªãè¨èãåºã¦ããã¨æãã¾ãããå ¨ä½ãææ¡ããããã«ãã²ã¨ã¾ãã¯ãããããæè¡ãããã®ã ãªããããã§æãã¦ããããã°ã¨æãã¾ããå°æ¥ããã®è¨èãåºã¦ããã¨ãã«ãã©ããã§èãããããªï¼ãã¨æãããå²ããã®ã§ãã åå¼·æ¹æ³ã®ãå§ãã¯ã1ã¤ã®ç¥èãå¾¹åºçã«ããããããã¾ãã¯å ¨ä½ãéãã¦åå¼·ãããã®ãã¨ã§åå¼·ãããã¨ããã«æ»ã£ã¦ç©ã¿éãã¦å¦ãã§ããæ¹ããæ«æãã¥ããã®ã§ãå§ãã§ãã 追
Ubiregi Advent Calendar 2018 ã® 18 æ¥ç®ã§ãã ã¦ãã¬ã¸ã§ã¯ããããã®ã客æ§ã®å¤§éã® POS ãã¼ã¿ããé ãããã¦ãããæ§ã ãªãããå¦çãå®è¡ããã¦ãã¾ããä»åã¯ç¹å®ã®ã±ã¼ã¹ã§ãããå¦çã®ä¸é¨ã 30 å以ä¸ããã£ã¦ããå¦çã 14 ç§ã§çµããããã«ãã話ã«ã¤ãã¦æ¸ãããã¨æãã¾ããååã® Ruby 2.5 ã® SEGV ã¨éã£ã話 - @watson1978 ã®æ¥è¨ ã«å¼ãç¶ã DTrace ã使ã£ã話ã«ãªãã¾ãã ã¯ããã« ã¦ãã¬ã¸ã§ã¯ CSV ãã¡ã¤ã«ã§ã客æ§ãç¹å®ã®ãã¼ã¿ããã¦ã³ãã¼ããããã¢ãããã¼ãã§ããæ©è½ãããã¾ããCSV ãã¡ã¤ã«ã«ã¨ã¯ã¹ãã¼ãããããCSV ãã¡ã¤ã«ãã DB ã«åãè¾¼ãå¦çã Worker ãèµ·åãã¦ãããå¦çãã¦ãã¾ãã 大éã®ãã¼ã¿ãä¿æãã¦ããã¢ã«ã¦ã³ãã¨åéã®ãã¼ã¿ãç¨æãã¦æå ã®ç°å¢ã§è©¦ããã¨ããæéããããã
ãã®è¨äºã¯ RECRUIT MARKETING PARTNERS Advent Calendar 2018 ã®æ稿è¨äºã§ãã 12æã¯Rubyã®ãªãªã¼ã¹ã楽ãã¿ãªk-shogoã§ãã ä»ã¾ã§ã«è¦æ¨¡ã寿å½ãæ§ã ãªRailsã¢ããªã±ã¼ã·ã§ã³ã®éçºã«æºãã£ã¦ãã¾ãããæ¬è¨äºã§ã¯ãããªèªåããRailsããã¸ã§ã¯ãã«ãããããªããããªæ¹éãåæã§ãããã¼ã ãè¯ããªãã¨æã£ã¦ãããã¨ãã¾ã¨ãã¾ãã ã©ããªãã¨ã«æ°ãã¤ãã¦ããã®ã Railsã§ã¢ããªã±ã¼ã·ã§ã³ãä½æããæãããscaffoldã§äºè¶³ãããããªãã®ãªãã°åã決ãã¯å¿ è¦ã«ã¯ãªãã¾ããã è¤éãªã¢ããªã±ã¼ã·ã§ã³ã ã£ãã¨ãã¦ããä¸äººã§éçºãã³ã¼ããå ¨ã¦é ã«å ¥ã£ã¦ãããä»å¾ããã£ã¨ã¡ã³ããã³ã¹ã§ããè¦æããããéå»ã®èªåã常ã«ä¿¡é ¼ã§ããã®ã§ããã°ãããã¾ãæ¹éã¯ä¸å¿ è¦ã§ãã ã³ã¼ãã®è¦æ¨¡ã大ãããªãããããµã¼ãã¹ã®å¯¿å½ãé·ããªããããè¤æ°äººã§é
åãã¾ãã¦ãRailsã¨ã³ã¸ãã¢ã®ç½äºã§ãã æè¿å½¼å¥³ãåºæ¥ã¦ä¼ç¤¾ã®äººã«å¹¸ãï¼ææ°ï¼ãæ¯ãã¾ãæ´»åããã¦ãã¾ãï¼ ãã¦ãå æ¥AWS re:Invent 2018ã«ã¦AWS LambdaãRubyã©ã³ã¿ã¤ã 対å¿ã®çºè¡¨ããªããã¾ããï¼ï¼ãªãªã¼ã¹ï¼ ããã¦serverlessãããã«Rubyã«å¯¾å¿ï¼ å¼ç¤¾ã¯ç§å«ãRubyã¨ã³ã¸ãã¢ãå¤æ°ãããããã¨ã¦ãã¨ã¦ãå¬ããã¢ãã¦ã³ã¹ã¡ã³ãã§ããã æ©é使ã£ã¦ã¿ãã¨Native Extensionsã使ç¨ããgemã使ãããæã«ã¡ãã£ã¨è©°ã¾ã£ãã®ã§ã·ã§ã¢ãã¾ãï¼ ãã®è¨äºãèªãã ããããã㨠ãã®è¨äºã§ã¯ã AWS Lambda Rubyã©ã³ã¿ã¤ã ã§Native Extensionsã使ç¨ããgemã使ã£ãLambdaé¢æ°ãä½ãæé ãã¾ã¨ãã¦ãã¾ãã â»Native Extensionsã使ç¨ããªãgemã®ã¿ã使ã£ãLambdaé¢æ°ã¯æªæ¤è¨¼ã§ãã â»ser
https://github.com/CircleCI-Public/config-preview-sdk ãè¦ã¦ãã commands ã便å©ããã ã£ãã®ã§ãããã«å人ãããã¯ãã«å ¥ãã¦ã¿ãã github.com æºå Before (CircleCI 2.0) After (CircleCI 2.1 preview) ææ ä½æ¥PR æºå Advanced Settingsã®ãEnable build processing (preview)ãã§æå¹ã«ããªãã¨ä½¿ããªãã®ã§æ³¨æ Before (CircleCI 2.0) Ruby製ã®ã¢ããªã®CIãæ§ç¯ãã¦ã㨠restore_cache ã§bundle installã®ãã£ãã·ã¥ããªã¹ã㢠bundle install save_cache ã§ãã£ãã·ã¥ãä¿å ã¨ããã®ãé »åºããã¦ãªãã¡ã¯ã¿ãªã³ã°ãããã£ãã å®éã«ä½¿ã£ã¦ãè¨å®ãæç²
ç´é¢ããåé¡ã解決ãããkaminariãã§ãããRuby / Railsã³ããã¿ã¼æ¾ç°æã®OSSéçºã®å®å ä¸çä¸ã®Rubyããã°ã©ãã«ä½¿ç¨ãããOSSã§ããkaminariããããæãããRuby / Railsã³ããã¿ã¼æ¾ç°æããã«ãéçºèæ¯ãèãã¾ããã ãããããã£ãã便å©ãªã¯ãã ãã¨ããäºæ¸¬ã ãããã¯ãããããåé¡ã ããã解決ãããã¨ããç¾ç¶èªèã æ°ããªæè¡ãçã¿åºãããæºæµã«ãããã®ã¨ã¯ãä¸ä½ãªãã§ããããã Ruby on Railsï¼ä»¥ä¸ãRailsï¼ãç¨ããWebã¢ããªã±ã¼ã·ã§ã³éçºã«ããã¦ãå§åçãªåå¨æãæ¾ã¤ãã¼ã¸ãã¼ã¿ã§ããkaminariãéçºããæ¾ç°æï¼ã¾ã¤ã ã»ãããï¼ @a_matsuda ï¼ããã®å ´åã¯ãâ絶対ã«âå¾è ã§ããã¨èªãã¾ãã Railsãããã¦Rubyã®ã³ããã¿ã¼ã§ãããæ¾ç°ããã¯ãã¾ãã«Rubyãç¨ããéçºã®æä¸ãå è¡ããã½ããã¦ã§ã¢ã«æ
Railsã®æ¨©é管çã®Punditã®ã½ã¼ã¹ã³ã¼ããèªãã§ã¿ã¦ã¾ã¨ãã¾ããã æ¬ä½ã®ã³ã¼ãéçã«ã¯300è¡ç¨åº¦ãªã®ã§æ¯è¼çç°¡åã«èªãããã¨æãã¾ãã 1. ç®ç 2. åºæ¬æ å ± 対象ãã¼ã¸ã§ã³ ã³ã¼ãé ãã£ã¬ã¯ããªæ§æ ã¯ã©ã¹å³ ããã¥ã¡ã³ã 3. Punditã®æ¨©é管çã®å®è£ ããæ¹æ³ 4. 権é管çæ©è½ãRailsã¨çµ±åããæ¹æ³ 5. Railsã®Generatorã®ä½ãæ¹ 5.1. pundit:install 5.2. pundit:policy [model] ã¾ã¨ã 1. ç®ç ä¸è¨ã®ãããªãã¨ä¸å¿ã«ã½ã¼ã¹ã³ã¼ããè¦ã¦ããããã¨æãã¾ãã 権é管çã®å®è£ æ¹æ³ 権é管çã®ä»çµã¿ãRailsã«çµã¿è¾¼ãæ¹æ³ Railsã®Generatorã®ä½ãæ¹ 2. åºæ¬æ å ± 対象ãã¼ã¸ã§ã³ 2018/7/22ã«ä½ãããv2.0.0ã§ç¢ºèªãã¾ãã Pundit v2.0.0 ã³ã¼ãé å ¨ä½ã®ruby
One day last August 2018, I stumbled upon an online petition that sparked my curiosity -Â We Want Serverless Ruby. At that time, none of the major cloud providers had first-class support for Ruby in their serverless products. There were ~1400 devs signing that petition, and I wondered if there was something about Ruby that made it unsuitable for FaaS. I decided to roll the sleeves and start buildin
å æ¥æ ¶æ義塾大å¦æ¥åãã£ã³ãã¹ã§è¡ããã builderscon2018ãæé«ã®ã«ã³ãã¡ã¬ã³ã¹ã§ãããããããããéçºç¾å ´ã§å½¹ç«ãããããã®è¨è¨ååã¨ãã¿ã¼ã³ãã¨ããã¿ã¤ãã«ã§çºè¡¨ããã¦ããã ãã¾ãããä»åã¯æä¾ãå®æ³ä¸ç¶ã·ãªã¼ãºãã¨ãã¦ããã¬ã¼ã³ã®åç¾ãããã°ã§è¡ãããã¨æãã¾ãã ãªããéå»ã®å®æ³ä¸ç¶ã·ãªã¼ãºã¯åè·ã®æè¡ããã°ã«ã¾ã¨ã¾ã£ã¦ãã¾ãã®ã§ããã¡ãããã覧ãã ããã ããã§ã¯æ¬ç·¨ãéå§ãããã¨æãã¾ãã éçºç¾å ´ã§å½¹ç«ãããããã®è¨è¨ååã¨ãã¿ã¼ã³ ã¢ãã³ãã¼ã ãããããé¡ããã¾ãã ã¾ãæåã«ç°¡åã«èªå·±ç´¹ä»ãããã¦ããã ãã¾ãã å æ転è·ããã¾ãã¦ã8/1ããClassiã¨ããä¼ç¤¾ã§åãã¦ãã¾ãã妻ã¨æ¯åãããã¾ããScalaã好ãã§ãããä»äºã§ã¯Rubyã¡ã¤ã³ã¨ããæãã§ãã Web+DB PressãSoftware Designã§ä½åº¦ãç¹éãæ¸ããã¦ããã ãã¾ãããã¨
sqldefã®ãªãã¸ã㪠github.com ããã¯ä½ã Ridgepoleã¨ãããã¼ã«ããåãã§ããããã ããã¯Rubyã®DSLã§create_tableãadd_indexçãæ¸ãã¦ã¹ãã¼ãå®ç¾©ããã¦ããã¨ããã¨å®éã®ã¹ãã¼ãã®å·®ç°ãåããããã«å¿ è¦ãªDDLãèªåã§çæã»é©ç¨ã§ãã便å©ãªãã¼ã«ã§ããä¸æ¹ã ã§è¨ããã¦ããããã«ãRidgepoleãåä½ãããããã«ã¯RubyãActiveRecordã¨ãã£ãä¾åãã¤ã³ã¹ãã¼ã«ããå¿ è¦ããããRailsã¢ããªã±ã¼ã·ã§ã³ä»¥å¤ã§ä½¿ãå ´åã«ã¯å°ã é¢åãªãã¨ã«ãªãã¾ãã*1 *2 ããã§ãPure Goã§æ¸ããã¨ã§ã¯ã³ãã¤ããªã«ããã¾ãå¥è¨èªåã®äººã§ã使ãããããããRubyã®DSLã®ãããã«ã誰ã§ãç¥ã£ã¦ãSQLã§CREATE TABLEãALTER TABLEãæ¸ãã¦åããã¨ãã§ããããã«ããã®ãsqldefã§ãã 使ç¨ä¾ ç¾æç¹ã§ã¯My
Post author:sider Post category:Uncategorized Reading time:4 mins read Post published:2018-02-26 ããéå»ã®OSã«æ絶ããã£ãããRubyã絶å½ãã¦ããå¯è½æ§ã¯ããªãé«ãã25å¹´ã®Rubyéçºã®æ´å²ãæ¯ãè¿ãã¤ã¤ããããªæå¤ãªè¦æ¹ã示ããã®ã¯Rubyã®çã¿ã®è¦ªã¨ãã¦ç¥ããããã¾ã¤ãã¨ããã²ãæ°ã ã æ¥æ¬çã¾ãã®ããã°ã©ãã³ã°è¨èªãRubyãï¼ã«ãã¼ï¼ã25æ³ã®èªçæ¥ãè¿ãããRubyãçã¾ããã®ã¯1993å¹´2æ24æ¥ã®ãã¨ãããããã¡ããã©25å¹´ç®ã¨ãªã2018å¹´2æ24æ¥ã«ãRuby25å¨å¹´è¨å¿µã¤ãã³ããRuby25ï¼ã«ãã¼ã»ãã¥ã¨ã³ãã£ã¼ãã¡ã¤ãï¼ãããRubyã¢ã½ã·ã¨ã¼ã·ã§ã³ããã³æ¥æ¬Rubyã®ä¼ã®å¾æ´ã§æ±äº¬ã®åå·ã¤ã³ã¿ã¼ã·ãã£ã¼ã§éå¬ãããã åºèª¿è¬æ¼ãè¡ã£ãã¾ã¤ãã¨æ°ã¯ã25å¹´ãæ¯ãè¿
æ¸ç±ç´¹ä»ã¯æ¢ã«ããã¤ãæ¸ããã¦ãããã§ãç§ã¯èªåã®æ å½ããç®æã®è©±ãæ¸ãããã¨æãã¾ãã æ¬æ¥(5/17)æ¹è¨2ç ãã¼ãã§ã¯ãRubyãçºå£²ããã¾ã - ãããã æ¹è¨2ç ãã¼ãã§ã¯ãRubyãåºçããã¾ãã - esm ã¢ã¸ã£ã¤ã«äºæ¥é¨ éçºè ããã° æ¹è¨2ç ãã¼ãã§ã¯ãRubyï¼æ¸ç±æ¡å ï½æè¡è©è«ç¤¾ ç§ã¯ãã©ã£ã¡ãã¨ããã¨å¤§ããæ¸ãç´ãæãã¡ã¤ã³ã§æ å½ãã¦ãã¾ããã主ã«ãã¹ãã³ã¼ãã®ç« ã§ããå¾Refinementsã«ã¤ãã¦ãå°ãæ¸ãã¦ã¾ãã ãã¹ãã³ã¼ãã®ç« ã§ã¯ãæ¸ç±ç´¹ä»ã«ããæ§ã«test-unitãæ¡ç¨ãã¦ãã¾ãã fluentdãã©ã°ã¤ã³é¢é£ã®ãã¹ãã³ã¼ãã¯test-unitã§æ¸ããã¦ãããã¨ãå¤ãã®ã§ãããæè¿ãã®è¾ºããçµæ§è§¦ã£ã¦ããã®ã§ãç§ãæ¸ãã¾ããã¨æãæãããã¦ããã ãã¾ããã Refinementsã«ã¤ãã¦ã¯ãæããæ°å°ãªãproductionç°å¢ã§ãRefine
m_sekiããã¨hsbtããã®æ¨è¦ã§ãERBã®ã¡ã³ããã¨ãã¦Rubyã®ã³ããã権ãããã ãã¾ããã 以ä¸ãåã³ãããã§ãã github.com æ®æ®µãã³ãã¬ã¼ãè¨èªHamlã®é«éåããã®æ´ã«é«éãªå¥å®è£ Hamlitã®å®è£ ããã£ã¦ãã¦ãã³ãã¬ã¼ãã¨ã³ã¸ã³ã®é«éåã«ç¥è¦ããããã¡ããã¡ããERBã«ãç¥è¦ãéå ããããã¦ããã®ã§ãããä¸æ¨æ¥ãµã¨ERBã®çæã³ã¼ãã®iseqãçºãã¦ããæã«æ°ä»ãã¦ããããéã£ãå¾ããå ¥ããã®ããã©ãããããERBã®ã³ããã¿ããã¾ãããã¨ã声ããããã ããå½¢ã§ãã ã¨ããããã§ãå¼ãç¶ã主ã«é«éåã®æ¹é¢ã§ERBã®ã¡ã³ããã³ã¹ããã£ã¦ããã¾ãããä»ã«ã以ååãCæ¡å¼µã«ããHTMLã¨ã¹ã±ã¼ãã¨ããåºãç¯å²ã§ããã©ã¼ãã³ã¹æ¹åããããããããªã¨æãã¾ãã ãã£ãã®ãããã«é¢é£ãã¦to_sãã¡ã½ããå¼ã³åºãããã¤ãã¹ã§ããããã«ãããçµæ§ããããªãã®ãéããªãããããªã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}