You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
å æ¥è¡ãããRails Developers Meetup 2019ã§ãClean Test Code Revisedã¨ããã¿ã¤ãã«ã§çºè¡¨ãã¾ãããã¹ã©ã¤ãã¯ãã¡ãã åç»ãä¸ãã£ã¦ãããããªã®ã§èå³ã®ããæ¹ã¯ã©ãã*1ã ææ ãåç¥ã®ãããããã¨æãã¾ããããã®çºè¡¨ã¯2017å¹´5æã«è¡ãããRails Developers Meetup第ä¸åç®ã§çºè¡¨ããå 容ãæ´ã«ä¸æ©é²ãããã®ã¨ãªã£ã¦ãã¾ãã Rails Developers Meetup ã§ç¶ºéºãªãã¹ãã³ã¼ãã®æ¸ãæ¹ã«ã¤ãã¦çºè¡¨ãã - ããããwebãµã¼ãã¹éçºæ¥è¨ å½æåã®é ã®ä¸ã«ãã£ããããããã±ã¼ã¹ã®ã¨ãã¯ããæ¸ãããªããªãããã ãããã¨ãããã®ãç¹ã§åºããã®ãååã®çºè¡¨ã§ããããããè³ã«è² è·ããããªããã¨ããç·ã§ã¤ãªãã¦ã¾ã¨ããã®ãä»åã®çºè¡¨ã«ãªãã¾ãã ãã¹ãã³ã¼ããã¬ãã¥ã¼ããã¨ãã«ããããªããèªã¿ã¥ãããªâ¦ãã¨æã£ã¦
ãã¸ãã¹ã«å¿ è¦ãªå ¨ã¦ãæ ãã èªåã®å°éæ§ãè¦ã¤ãåºã ãã«ãµã¤ã¯ã«éçºè ã®ããæ¹@æè²ç¥ ç§ / how-find-own-speciality-in-full-cycle
ã¯ããã«ï¼é座Rails #12ã§ç»å£ããã¦ãããã¾ãã å»ã2019å¹´8æ29æ¥ãé座Rails #12ã§ãããã°ã©ããã³ã¼ããæ¸ããªããèããã㨠ãã¨ããçºè¡¨ãããã¦ãããã¾ããã ginza-rails.connpass.com ãã®çºè¡¨ã§ã¯ãããã°ã©ããæ¸ãä¸ããã³ã¼ãï¼ï¼å®æå½¢ï¼ãã§ã¯ãªããããã®ã³ã¼ããã©ããã£ã¦æ¸ããã®ãï¼ï¼ï¼ä½ãèããã©ããªãã¼ã«ããã¯ããã¯ã使ã£ã¦ãã©ããããã®ã¹ãã¼ãã§æ¸ããã®ãã¨ããç¹ãããªãã¡ãã³ã¼ããæ¸ãéç¨ï¼ãããã¼ãã«ãã¾ããã ããã¦ããã®éç¨ãããããããä¼ããããã«ãã¹ã©ã¤ãã ãã§ãªããåãã¬ãã³ã³ã§ã³ã¼ããæ¸ãã¦ããæ§åãåç»ã³ã³ãã³ãã¨ãã¦ä¼å ´ã®ã¿ãªããã«ãè¦ããã¾ããã ããã¾ã§ããããªåå¼·ä¼ãã¤ãã³ãã§çºè¡¨ãã¦ãã¾ããããåç»ãäºåã«ç¨æãã¦çºè¡¨ã§ä½¿ã£ãã®ã¯ãããåãã¦ã§ãã åãã¦ã®è©¦ã¿ãªã®ã§ãã©ããªããã¡ãã£ã¨ä¸å®ã§ãããã
ãæè¡æ¸LT&æ親ä¼ãCaraquri Tech Night #1ããã§ãLTãã¬ã¼ã³ããã¾ããã ãªã¹ã¹ã¡ã®æè¡æ¸ãç´¹ä»ãåã£ã¦ãæ°ã¥ããç¥è¦ãå¢ããã¤ãã³ãã§ãã caraquri.connpass.com ç§ã¯æ¬ã好ããªã®ã§ãå®æçã«æ¸åºã«è¶³ãéãã§ãã¾ãã ä»åã®ã¤ãã³ãã§ã¯ãæè¡ç³»å人èªã«ã¤ãã¦ãã¬ã¼ã³ãããæ¹ãå¤ãã£ãã§ãã ã«ããã³ã¼ãã®åé¡é ç§ã¯ãã«ããã³ã¼ãã®åé¡éãã«ã¤ãã¦çºè¡¨ãã¾ããã ã«ããã³ã¼ãã®åé¡éã¨ã¯ï¼ ãã«ããã³ã¼ãã®åé¡éãã¯æè¡æ¸å ¸ã§é å¸ããã¦ããã·ãªã¼ãºä½åã§ãéå»ã«3ä½ãé å¸ããã¦ãã¾ãã æè¡æ¸å ¸4ï¼ ãªãã¡ã¯ã¯ã¿ãªã³ã° ãããªã¨ã¼ã·ã§ã³ã«ç«ã¡åããç·¨ã æè¡æ¸å ¸5ï¼ ã»ãã¥ãªã㣠ãã»ãã¥ãªãã£ãã¼ã«ã«ç«ã¡åããç·¨ã æè¡æ¸å ¸6ï¼ è¨è¨ ãã½ããã¦ã§ã¢è¨è¨ã«ç«ã¡åããç·¨ã ã«ããã³ã¼ãã¨ã¯ãªã«ãï¼ ãã«ããã³ã¼ããã¨ã¯ãèå¼±æ§ã»ãã°ã»ä¿å®æ§ã
Railsã®åå¼·ä¼ãStep-to-Rails-Expert.rb#19 ã«åå ãã¦ãã¾ããï¼ Step-to-Rails-Expert.rb ã£ã¦ï¼ å ¬å¼ã®èª¬æããã®ã¾ã¾â¦ æ¬åå¼·ä¼ã¯Step-to-Rails-Expert.rbã¨ããRailsé¢é£ä¸ç´è åãã®åå¼·ä¼ã§ãã ã³ã³ã»ããã¨ãã¦ã¯ãåå¿è ãæããã¬ãã«ã®äººãä¸ç´è ã»ä¸ç´è ã«ãªãä¸ã§ãä¸æ©é²ãã æè¡ããããªã©ãããªã©ãè°è«å½¢å¼ã§å ±æããå ´åã«ãã£ã¦ã¯ã¨ãã«è§£æ±ºçãèãã¦ããããããªåå¼·ä¼ãç®æãã¦ããã¾ãã ãªãã2017å¹´9æããExpert-Todoã¨ããTodoã¢ããªãåã ä½ã£ã¦æ¥ã¦åå è å士ã§ã¬ãã¥ã¼ãåãä¼ç»ãå®æ½ãã¦ããã¾ããã¢ããªãä½ã£ã¦ãã人ã ãã§ãªããããã§ãªã人ãã¬ãã¥ã¼ã®ä»æ¹ãå®è£ æ¹æ³ãªã©ã®ç¥è¦ã貯ããããä¼ç»ã¨ãªã£ã¦ãã¾ãã®ã§ããã²ãåå ãã ããã step-to-rails-expert-rb.con
追è¨: 訳æä¿®æ£ãããã¾ããï¼2018/03/28ï¼ã æ¦è¦ åèè ã®è¨±è«¾ãå¾ã¦ç¿»è¨³ã»å ¬éãããã¾ãã è±èªè¨äº: SOLID Principles #1: Single Responsibility Principle | Netguru Blog on Ruby/Ruby on Rails åæå ¬éæ¥: 2018/02/13 èè : Marcin Jakubowski ãµã¤ã: netguru 翻訳è¨äºã®ç¸äºãªã³ã¯ã¯ä»å¾æ´æ°ãããã¾ãã ãSOLIDã®ååã·ãªã¼ãºãã¸ããããããã®ã·ãªã¼ãºè¨äºã§ã¯ãSOLIDã®ååãã²ã¨ã¤ãã¤è©³ãã説æããåæãã¾ããã·ãªã¼ãºã®æå¾ã«ã¯ããã¤ãã®ãã³ããèå¯ãå«ãç·æ¬è¨äºããéããã¾ãã®ã§ã©ãããæå¾ ãã ããã ããã§ã¯å§ãã¾ãããããSOLIDã®ååãã¨ã¯ããããä½ãªã®ã§ããããï¼SOLIDã¨ã¯ããªãã¸ã§ã¯ãæåããã°ã©ãã³ã°è¨è¨ã«ãããä¸è¬çãªåå
Bitcoinã®æè¡çãªå ¥éæ¸ã¨ãã¦æåãªæ¬ã¯ããããMastering Bitcoinã§ããããBitcoinã©ã¤ã¯ãªãããã¯ãã§ã¼ã³ã®æè¡çãªè§£èª¬ãé常ã«è©³ããããã¦ããããããã¯ãã§ã¼ã³ãå¦ã¶äººã«ã¨ã£ã¦ã¯ãã¯ãç»ç«éçãªæ¬ã«ãªã£ã¦ãã¾ãã ããããMastering Bitcoinãèªãã§ãå®éã«ãããã¯ãã§ã¼ã³ãã®ãã®ãå®è£ ãããã¨ã¯ããã¾ããããããã¯ãã§ã¼ã³ãå¦ã¶è ã¨ãã¦ãã1度ãããå®è£ ããæ¹ãããããªããã¨æã£ã¦ãã¾ããã ãããªæã«ä»¥ä¸ã®è¨äºãè¦ã¤ãã¾ããã Swiftã§ãããã¯ãã§ã¼ã³ãå®è£ ãã¦ã¿ã ãã®è¨äºã¯Pythonã§å®è£ ãããè¨äº1ã«è§¦çºããã¦ãSwiftã§ãããã¯ãã§ã¼ã³ãå®è£ ãã¦ã¿ãã¨ã®ãã¨ã ã£ãã®ã§ãç§ã¯ãSwiftã§ã¯ãªããRubyã§æ¸ãã¦ã¿ããã¨ã«ãã¾ããã 1. ãããã¯ãã§ã¼ã³ãä½ã ãããã¯ãã§ã¼ã³ãæ¸ã ã¾ãã¯ãéå½¢ã¨ãªãBlockchainã
ãã¯ããã«ã¡ã°ãããã¨ã ã¹ãªã¼ã¨ã³ã¸ãã¢ã®åç°ã§ãã å æ¥ aws-ssm-env ã¨ããRubyã®gemãå ¬éãã¾ããã github.com AWSã®Parameter Storeãããã©ã¡ã¼ã¿ãåå¾ãã¦ç°å¢å¤æ°ã«è¨å®ããgemã§ãã dotenvã®Parameter Storeçã¨æã£ã¦ããã ããã°åããããããã¨ã æ¬ç¨¿ã§ã¯gemãä½ã£ããã£ãããç°¡åãªä½¿ãæ¹ãªã©ã説æãããã¨æãã¾ãã Parameter Store ã¨ã¯ ãã®åã«Parameter Storeã¨ã¯ãªããããã¨ãããã¨ã§ããã Parameter Storeã¯AWSã®Vaultãµã¼ãã¹ã§ãKey-Valueã§ãã©ã¡ã¼ã¿ãæ ¼ç´ãã¦APIã«ããåç §ãå¯è½ã§ãã KMS(Key Management Service)ã«ããæå·åã«å¯¾å¿ãã¦ãã¾ãã 詳ããã¯å æ¥ç§ãæ稿ããQiitaã®è¨äºãè¦ã¦ä¸ããã(ææã) qii
ã¯ããã« ãã®è¨äºã¯æ¸ç±ããããç®æã人ã®ããã®Rubyå ¥éãã«æ²è¼ã§ããªãã£ããããã¯ãèè èªããç´¹ä»ããã¢ããã³ãã«ã¬ã³ãã¼ã®25æ¥ç®ï¼æçµæ¥ï¼ã§ãã æ¬æã«åºã¦ããç« çªå·ãé çªå·ã¯æ¸ç±ã®ä¸ã§ä½¿ããã¦ããçªå·ã§ãã ä»åã¯Ruby 2.5ã§çºçããããããç®æã人ã®ããã®Rubyå ¥éãã¨ã®å·®ç°ãç´¹ä»ãã¾ãã å¿ è¦ãªåæç¥è ããããç®æã人ã®ããã®Rubyå ¥éãã®ç¬¬7ç« ã第9ç« ã第11ç« ã第12ç« ãèªã¿çµãã£ã¦ãããã¨ã Ruby 2.5ã§çºçããããããç®æã人ã®ããã®Rubyå ¥éãã¨ã®å·®ç°ã«ã¤ã㦠ããããç®æã人ã®ããã®Rubyå ¥éãï¼ä»¥ä¸ãæ¬æ¸ï¼ã¯Ruby 2.4ç³»ã対象ã«ãã¦å·çããã¦ãã¾ããæ¬æ¸ã¯ç´ã®æ¬ãªã®ã§ãç°¡åã«å 容ãã¢ãããã¼ããããã¨ãã§ãã¾ãããããããä½ãããªãã¨ã©ãã©ãå 容ãå¤ããªã£ã¦ãã¾ããããªããä»ä½¿ã£ã¦ããRubyã¨åããéããã¨ãããã¨ã«ãªã£ã¦ãã¾ãã¾
ãã®è¨äºã¯ MySQL Casual Advent Calendar 2017 ã®23æ¥ç®ã®è¨äºã§ãã ã¿ãªããORãããã¼ã¯ä½¿ã£ã¦ãã¾ããï¼ åã¯ä»äºã¨ã趣å³ã§ActiveRecordã¨ããORãããã¼ã使ã£ã¦ãããã§ããã©ãããã¤ä¾ãã° Team.preload(players: :high_score).to_a ã¿ãããªãã¨ãããã¨ãã SELECT `scores`.* FROM `scores` FROM `scores`.`id` IN (a, b, c, ...æ°ååç¶ã...) ã¿ãããªã¯ã¨ãªãçæããããã§ããã©ãMySQL 5.7ã«ä¸ããã¨ãã« range_optimizer_max_mem_size ã®å¶éã§å®è¡è¨ç»ããã¼ãã«ã¹ãã£ã³ã«è½ã¡ã¦ãããç®ã«ãã£ããã¨ãããã¾ãããMySQLå´ã§ range_optimizer_max_mem_size = 0 ãããã¨ã§
Note: These release notes cover only the major changes. To learn about various bug fixes and changes, please refer to the change logs or check out the list of commits in the main Karafka repository on GitHub. Time passes by, Kafka is already 1.0 and Karafka is already 1.1. Code quality I will start from the same thing as with 1.0. We're constantly working on having a better and easier code base. A
Go 㨠Ruby 㨠Amazon SQS 㨠ElastiCache 㧠Ranunculus ã¨ããã¯ãã¼ã©ãæ¸ãã¦ã¿ã¾ããã æ£ç¢ºã«ã¯æ¸ããããªã®ã§ãããããæ¥ææ¥ãçµãã£ã¦ãã¾ãã®ã§ãã¨ããããã¾ã¨ãã¦ãããã¨ã«ãã¾ãã Ruby Gem https://rubygems.org/gems/ranunculus ãã® Gem ã®ã³ã¼ã https://github.com/k-kawa/ranunculus-ruby Go ã®ã³ã¼ã https://github.com/k-kawa/ranunculus ãªãã§ä½ããã¨æã£ãã®ã çç±ã¯ 3 ã¤ããã¾ãã 1 ã¤ãã¯ãRuby ã§ä½¿ããããã¯ãã¼ã©ãè¦ã¤ãããªãã£ãããã§ãã Python ã«ã¯ Scrapy ã¨ãããã¯ãã¼ã©ã®ããã®ããããã¤ããããªã©ã¤ãã©ãªãããã¾ãã ã¨ããããRuby ã«ã¯ããããããæãã®ã©ã¤ãã©ãªã
Railsã§Active Recordã®enumã®ã«ã©ã ã«å¯¾ãã¦selectã¿ã°ãè¨ç½®ããæé ã§ãã enumã使ããã¨ã§ãã¸ãã¯ãã³ãã¼ãé è½ããæå³ãããããããå¤ãã¡ã½ããã使ã£ã¦å¦çãã§ãã¾ãã ð½ Modelã®enumModelå´ã«enumãã«ã©ã ã«è¨å®ãã¾ãã class Article < ActiveRecord::Base enum status: { deleted: 0, draft: 1, published: 2 } end
RubyWorld Conference 2017 ã§ã®è¬æ¼è³æã§ãã
2016.12.27 Rubyã¹ã¿ã¤ã«ã¬ã¤ããèªã: ææ³ï¼2ï¼ã¢ã³ãã¼ã¹ã³ã¢ãå¤éä»£å ¥ãä¸é æ¼ç®åãif/unless ããã«ã¡ã¯ãhachi8833ã§ãããRubyã¹ã¿ã¤ã«ã¬ã¤ããèªããã·ãªã¼ãºãææ³ï¼1ï¼ã®ç¶ãã§ãã Rubyã¹ã¿ã¤ã«ã¬ã¤ããèªã: ç·ããã åå: Rubyã¹ã¿ã¤ã«ã¬ã¤ããèªã: ææ³ï¼1ï¼ã¡ã½ããå®ç¾©ãå¼æ°ãå¤éä»£å ¥ 次å: Rubyã¹ã¿ã¤ã«ã¬ã¤ããèªã: ææ³ï¼3ï¼æ¼ç®åã¨if/unless ææ³ï¼2ï¼ã¢ã³ãã¼ã¹ã³ã¢ãå¤éä»£å ¥ãä¸é æ¼ç®åãif/unlessãªã© åç §: bbatsov/ruby-style-guide 2-06ãçµ±ä¸ãå¤éä»£å ¥ã®å·¦è¾ºã§åç¬ã®ã¢ã³ãã¼ã¹ã³ã¢_å¤æ°ãæ«å°¾ã«ç½®ããã¨ã¯ãªãã¹ãé¿ãã Avoid the use of unnecessary trailing underscore variables during parallel as
RuboCop ã®ãã¼ã¸ã§ã³ 0.51.0 ããªãªã¼ã¹ããã¾ããã https://github.com/bbatsov/rubocop/releases/tag/v0.51.0 CHANGELOG ããå¤æ´ãè¦ã¦ãããã¨æãã¾ãã ç ´å£çå¤æ´ å¤ã Ruby ã®ãµãã¼ãçµäº https://github.com/bbatsov/rubocop/pull/4789 https://github.com/bbatsov/rubocop/pull/4787 RuboCop 0.51.0 ãããå¤ããã¼ã¸ã§ã³ã®Rubyã®ãµãã¼ããçµäºãã¾ããã RuboCopã«é¢ä¿ããRubyã®ãã¼ã¸ã§ã³ã«ã¯ã2ã¤ã®æ¦å¿µãããã¾ãã ä¸ã¤ã¯ãRuboCopãå®è¡ããã®ã«ä½¿ãRubyã®ãã¼ã¸ã§ã³ã§ããããã¯ãrubocopã³ãã³ããå®è¡ããæã«èµ°ãRubyã¤ã³ã¿ããªã¿ã®ãã¼ã¸ã§ã³ã«ãªãã¾ãã ããä¸ã¤ã¯ãRubo
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}