2023-01-01ãã1å¹´éã®è¨äºä¸è¦§
ãã®ã¨ã³ããªã¯ SmartHR Advent Calendar 2023ã®21æ¥ç®ã®è¨äºã§ãã Railsã®ãã¼ã¸ã§ã³ãä¸ããä½æ¥ã¯ãåã«æ°ãããã¼ã¸ã§ã³ã®gemãã¤ã³ã¹ãã¼ã«ããã ãã§ã¯çµããã¾ãããRailsã®æ°ãããã¼ã¸ã§ã³ã«æ²¿ã£ãè¨å®é ç®ã確èªããé©å®é©ç¨ãã¦ããå¿ è¦ãããã¾â¦
wkhtmltopdfã®æ¬¡ã©ããããåé¡ ã®ä½è«ã§wkhtmltopdf_binary_gemã«M1 mac対å¿ã®PRåºãã¾ããã¨ããå 容ãæ¸ãã¾ããããç¾æç¹ã§ã¾ã ãã¼ã¸ãããæ°é ã¯ããã¾ããã ãããªä¸ãdebian12(bookworm)ããªãªã¼ã¹ããã¦Docker Hubã®rubyå ¬å¼ã¤ã¡ã¼ã¸ã§ã使ãããâ¦
Kaigi on Railsåã®ãªãã©ã¤ã³éå¬ã§ããKaigi on Rails 2023ã§ç»å£ããæ©ä¼ãããã ãã¾ããã ä¾å¤ã¯é ã è³æã¨åç»ã¯ ãã¡ã ãã辿ãã¾ãã ã¡ãã£ã¨éã空ãã¦ãã¾ãã¾ãããã以ä¸ç»å£ã«é¢é£ãã¦ã¤ãã¤ãæãã¤ãããã¨ãæ¸ãã¦ãã¾ãã ãªãã§ãã®é¡â¦
Release v0.7.0 · willnet/ci_logger ããã¾ã§ã¯Rails.loggerã ãã対象ã ã£ãã®ã§ãããv0.7.0ããã¯æ¬¡ã®ããã«ãä»»æã®loggerãã©ããã§ããããã«ãªãã¾ããã your_logger = CiLogger.new(your_logger) your_logger.debug('debug!') # ããã¯ãã¹ãã失â¦
ååã®å¤§éªRubyKaigi02ã«ç¶ãã大éªRubyKaigi03ã§ãç»å£æ©ä¼ãããã ãã¾ããã ã¹ã©ã¤ãã¯ãã¡ãã ææ³ èªåå«ãã¿ããªflaky testã§ç²å¼ãã¦ããã®ã§ããããä»çµã¿ã§è§£æ±ºãããããã¿ããªã§ä»çµã¿ãä½ã£ã¦ããããã¨ããçºè¡¨ã§ããã10åã®çºè¡¨ã¯æã£ã¦ãâ¦
失æãããã¹ãã®ãã°ã ããåºåããã - ããããwebãµã¼ãã¹éçºæ¥è¨ã§ ç¾æç¹(v0.3.0)ã§ã¯RSpecã®ã¿ã«å¯¾å¿ãã¦ãã¾ããminitestã§ä½¿ããã人ã¯PRãé¡ããã¾ã :pray: ã¨æ¸ãã¾ãããv0.6.0ã§ã¯minitest対å¿ãå ¥ãã¾ãããminitestæ´¾ã®æ¹ãã©ãããå©ç¨ãâ¦
å æ¥ãä»äºã§Rails(Active Record)ã®é£ããä»æ§ã«ééããã®ã§å ±æããããã«ã¨ã³ããªãããããã¾ãããä¼¼ããããªã±ã¼ã¹ã«ééãã人ã®æå©ãã«ãªãã°å¹¸ãã§ã(\( â°ââ°)/) 対å¿Railsãã¼ã¸ã§ã³ã¨è¨å® Rails6.1ä»¥ä¸ config.active_record.has_many_inversingâ¦
TokyuRubyä¼è°14ã«åå ãã¦LTãã¦ãã¾ããã ã¹ã©ã¤ãã¯ãã¡ãã çºè¡¨ã«ã¤ã㦠mrskã¯å人çã«ããªãæ¨ãã¦ãããããã¯ãã§ãããã®åå¨ã«ããä»äºã§ãå人ã§ãä»ããå®ãã¤ã³ãã©ãæ´»ç¨ããé¸æè¢ãåãããããªã£ãã¨æãã¦ãã¾ããã¨ããããåãä»éç¨â¦
ãã®ä»¶ãé¢é£ããPRãIssueãè¤æ°ãã£ã¦ã³ã¡ã³ããåæ£ãã¦ããã人ã«èª¬æããã®ããããããã®ã§ããã°ã¨ãã¦ã¾ã¨ãããã®ã«ãªãã¾ããééããæè¦ãªã©ãã£ããã³ã¡ã³ããã ããï¼ è¿½è¨(2023/08/02) 7-0-stableãã©ã³ãã«ä»åã®å¤æ´ãrevertããã³ããããâ¦
ä¹ ãã¶ãã«æ°ããPRãããã®ã§ã確èªã¤ãã§ã«GitHub Actionsãªã©ã®è¨å®ãè¦ç´ãã¦1.2.0ã¨ãã¦ãªãªã¼ã¹ãã¾ããããã£ã±ãé·ãéç¨ãã¦ãããªãã¸ããªã ã¨å®æçã«è¦ç´ããå¿ è¦ã§ããâ¦ã
2æ21æ¥ã¯å¼ç¤¾ã®è¨ç«è¨å¿µæ¥ã§ãã6å¨å¹´ãã£ã¨ããéã§ããã ä»æ¥ã¯å¼ç¤¾ã®è¨ç«è¨å¿µæ¥ãªã®ã§ã±ã¼ãã§ãé£ã¹ãããªãã¨æã£ã¦ã³ã³ããã«æ¥ããããæãã®ãã®ããªãã£ããæ¥å¹´ã¯ã±ã¼ãå±ã§äºç´ã§ããããããªãâ willnet (@netwillnet) February 21, 2023 ããâ¦
10å¹´ã»ã©åã«ãµã¼ãã¹éå§ããmiucheeã§ããããã®åº¦Twitter APIææåãåãã¦ãµã¼ãã¹çµäºãããã¨ã«ãã¾ããã 10å¹´åã¯ã¼ãã®ä¸¡è¦ªã®æºå¸¯é»è©±ã¯ã¬ã©ã±ã¼ã§ããããä»ã¨ãªã£ã¦ã¯äºäººã¨ãã¹ããã使ãããã«ãªããã¿ã¦ã çµç±ã§å«ã®åçãå ±æããããfacetâ¦
wkhtmltopdfã¨ããã©ã¤ãã©ãªã¯ãHTMLããPDFãçæãã¦ãããã©ã¤ãã©ãªã§ããRubyããã ã¨wicked_pdfã pdfkit çµç±ã§ä½¿ããããã¨ãå¤ãã§ãã ãã¦ãããªwkhtmltopdfã§ãããGitHubãªãã¸ã㪠ãè¦ãã¨ãããããã«ã¢ã¼ã«ã¤ãããã¦ãã¾ã£ã¦ãã¾ããå ¬å¼â¦