Ruby 每周问题 724:2024 年 10 月 17 日

  • Next Issue Schedule: Taking next week off, so the next issue of Ruby Weekly will be on Thursday, October 31.
  • Talk Highlights:

    • Stephen Margheim on using SQLite with Rails and its strengths with the 'one person framework' idea.
    • Aaron Patterson's closing keynote covering various things and focusing on speeding up Rails' router.
    • Eileen Uchitelle on modular monoliths and app structure with Shopify's experience.
    • Obie Fernandez on Ruby and Rails' role in implementing modern AI solutions.
    • Jenny Shen with tips on getting apps upgraded to Rails 8.
    • DHH's opening keynote and the DHH, Matz and Tobi 'Fireside Chat'.
  • CRuby's Monkey Patch Detection: CRuby has optimizations for core classes, and it detects monkey patching to de-optimize itself.
  • Leveraging Falcon and Rails: A history of the Async gem, its influence on Rack 3, and how integrating Async 2, Rack 3, Falcon and Rails provides a foundation for building interactive and scalable web apps.
  • In Brief:

    • StdGems.org shows current default and bundled gems.
    • Rails 6.1.7.9, 7.0.8.5, 7.1.4.1 and 7.2.1.1 released to fix regex-based DOS vulnerabilities.
    • Rails has a new maintenance policy with details on different versions.
    • UsingRails is a directory of organizations using Ruby and Rails.
  • RubyGems.org Gets a New Design: A new design is rolling out with better device support and a 'dark mode', and users are encouraged to report usability issues.
  • Wikidata is a Giant Crosswalk File: Wikidata is the Wikipedia of structured data, and an example shows using DuckDB and Ruby to create crosswalks with Ractors.
  • Code & Tools:

    • Secure Headers 7.0 for managing HTTP security headers.
    • Storext 4.0 for type-casting and default values in ActiveRecord::Store.
    • Strong Migrations 2.0.1 to catch unsafe migrations in development.
    • Langchain.rb 0.18 for building LLM-backed Ruby apps.
    • Octokit 9.2 for the GitHub API.
    • Tailwind CSS for Rails 3.0.
    • RubyGems 3.5.22.
  • Classifieds:

    • RailsBump maintained by FastRuby for Gemfile readiness with Rails 7.2.
    • PostgreSQL is suitable for AI with pgvectorscale for faster search and cheaper cost.
    • Hookdeck is a serverless queue for event-driven apps.
阅读 17
0 条评论