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
ActiveRecord::Schema.define do create_table :books, force: true do |t| end create_table :products, force: true do |t| t.integer :sellable_id t.string :sellable_type end end class Book < ActiveRecord::Base has_one :product, as: :sellable end class Product < ActiveRecord::Base belongs_to :sellable, polymorphic: true end class BugTest < Minitest::Test def test_union relation_one = Book.joins(:product
Webpacker has served the Rails community for over five years as a bridge to compiled and bundled JavaScript. This bridge is no longer needed for most people in most situations following the release of Rails 7. We now have three great default answers to JavaScript in 2021+, and thus we will no longer be evolving Webpacker in an official Rails capacity. For applications currently using Webpacker, th
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く