こんにちは、hachi8833です。 先ごろRubyWorld ConferenceでRuby Prize 2017を受賞された@solnicことPiotr Solnicaさんが近年力を入れているのがdry-rbシリーズです。 @solnicさんはあのVirtusの作者でもあるのですが、現在VirtusのREADMEには、Virtusの機能を分割改良してdry-rbにしたとあります。 Virtusを作ったことで、Rubyにおけるデータの扱い、中でもcoercion/型安全/バリデーションについて多くのことを学べました。このプロジェクトは成功を収めて多くの人々が役立ててくれましたが、私はさらによいものを作ることを決心しました。その結果、dry-types、dry-struct、dry-validationが誕生しました。これらのプロジェクトはVirtusの後継者と考えるべきであり、考慮点やよ
Implementing inheritance with params: CreateProducts < ActiveRecord::Migration[5.0] Follow @makagon In Rails 5 each migration class is inherited from ActiveRecord::Migration[5.0]. It looks quite unusual to see that [5.0] part at the end of the parent class. In this article I'll describe why we might need it and how it works. It all started from the message in dry-rb channel on Gitter. Somebody ask
แทงบอล ผล บอล เมื่อ คืน นี้ บ้าน ผล บอล พรีเมียร์ ลีก ล่าสุด เมื่อ คืน แทงบอล เปิดยูสเพียง 100 บาท สามารถที่จะเข้าร่วมเดิมพันได้กับเกมพนันทุกรูปแบบไม่ว่าจะเป็นการ แทงบอลออนไลน์ การเล่นคาสิโน และ เกมส์หลากหลายประเภท เชื่อมั่นได้เลยว่าการวางเดิมพันกับเว็บพนันออนไลน์แห่งนี้จะเปลี่ยนประสบการณ์ในการเข้าถึงการเดิมพันผ่านระบบที่แตกต่าง ดำเนินธุรกิจมากว่า 10 ปี ทีมงานที่อยู่เบื้องหลังเว็บไซต์ได้ทำงานอย่าง
Announcing dry-view, a functional view rendering system for Ruby Say hello to dry-view, the newest member of the dry-rb family! We’re pleased to announce the release of dry-view 0.2.1 and share its brand new documentation. Keen followers of dry-rb will note that dry-view has been around for a little while now, living on quietly as an extension of solnic’s original rodakase experiment. With today’s
dry-rb adopts Zeitwerk for code loading For the past few months we’ve been working on making all dry-rb gems auto-loadable through Zeitwerk. This is part of a bigger effort as Zeitwerk is also used by Hanami 2.0. Using Zeitwerk to autoload not just your application code but also your dependencies...
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く