Posts tagged with #rails

Showing 11 posts with the tag #rails

1 min read
欲速则不达

在重构一个从 Phoenix 迁移到 Rails 的项目时,我发现——很多混乱的代码并非写得不好,而是想得不够。与其边写边改,不如在动手前多想一步。正如《JOJO》的那句名言:绕远路,才是最短的捷径。

2 min read
Rails 8 released

Rails 8 Arrives: Game-changing deployment with Kamal 2 + Thruster, database-backed Solid suite replacing Redis dependencies, and streamlined asset handling with Propshaft. Discover the major updates reshaping the Rails ecosystem for simpler, more efficient web development.

2 min read
Using hotwire-combobox with prefixed_ids

Customizing Hotwire Combobox with Prefixed IDs: A practical guide to integrating prefixed_ids gem with Hotwire Combobox in Rails, showing how to return custom ID formats instead of raw database IDs. Perfect for developers looking to enhance their form components with more user-friendly identifiers.