Composite keys
• both at the database and at application level
• derived from schema
• mainly for many-to-many relationships
• virtual primary key via query_constraints
• composite foreign key on association
ActiveSupport::MessagePack
• new serializer that integrates with the
msgpack gem
• can reduce payload size and improve
performance compared to JSON and
Marshal
Slide 12
Slide 12 text
ActiveJob.perform_all_later
• single redis/pg call
Slide 13
Slide 13 text
Rails.env.local?
• Goodbye if Rails.env.development? || Rails.env.test?
• Hello if Rails.env.local?
Slide 14
Slide 14 text
config.sandbox_by_default
• start rails console in sandbox mode by default
• useful to set for production environments
Slide 15
Slide 15 text
Support Bun
• all-in-one JS/TS runtime & toolkit
designed for speed, complete
with a bundler, test runner, and
Node.js-compatible package
manager.
• I know nothing about this
• other people are excited
Slide 16
Slide 16 text
ICYMI
• Ruby 3.3's YJIT is amazing
• New register allocator
• More code now gets JIT compiled
• For Shopify:
• 13% faster than 3.2 YJIT
• 15% faster than 3.3 without YJIT
• For Basecamp:
• +24% faster on the median, +12% on the average