Rails 8.0.5.2 and 8.1.4.1 ship as security releases, fixing 21 security issues, so you should upgrade if you haven't already. The same update bundles a long list of Active Record, Active Support and Action Controller bug fixes. Highlights include restoring bind values in where! and having!, fixing merge dropping RECURSIVE from with_recursive relations, wrapping PostgreSQL null byte errors in ActiveRecord::NullByteError, fixing the -n ClassName#test_name test runner filter broken since Rails 7.1, and support for comma-separated keys in RAILS_MASTER_KEY for key rotation. 46 contributors worked on Rails this past week.
Nguồn: https://world.hey.com/this.week.in.rails/security-releases-bug-fixes-and-a-lot-more-18445ea0. 8 Sync News chỉ tóm tắt và dẫn link; bản quyền nội dung thuộc tác giả và nguồn gốc.
Đọc tin ở đây, luyện code, học theo lộ trình và luyện IELTS trên các sản phẩm anh em — tất cả kết nối với nhau trong hệ sinh thái 8 Sync.
Cổng chính của hệ sinh thái: giới thiệu sản phẩm, blog và bảng giá trọn bộ.
Khám pháHọc theo lộ trình rõ từng chặng: video, quiz chấm tự động, certificate và mentor đang làm nghề.
Xem lộ trình1.000 bài DSA, đề tiếng Việt, chấm tự động 7 ngôn ngữ — nhiều bài FREE, chạy ngay trên trình duyệt.
Luyện miễn phíChấm bốn kỹ năng IELTS bằng AI, phản hồi chi tiết theo rubric.
Dùng thử miễn phíAI IDE 22 MB cho dev Việt.
Tải miễn phíBộ nhớ tổ chức cho AI agent.
Khám pháAI trực Fanpage, tự sàng lọc lead.
Dùng thửPostgres 18’s new file_copy_method = clone setting lets you give every git worktree its own copy of your database in seconds, without eating up your disk.
json vs jsonb in PostgreSQL 17 and 18, measured on six document shapes: when jsonb is 23% smaller or 41% larger, read speed, GIN, and what it changes.
Two incompatible migrations merge clean, then resolve in the database — as a failed deploy in one environment and a healthy one in another, decided by apply order. The idempotent version is worse: every statement succeeds and the schemas silently diverge.
OccupySaaS is a protest movement in code: laid-off developers building clean-room, open-source, drop-in replacements for the SaaS giants. First up: ZeroAuthy (Auth0) and SalesCompel (Salesforce).
An API can save an order and crash before publishing the message that tells other services about it.
If you have certain lines of code that repeat over and over again in a project, there's a pretty standard solution for it: using a function. But what about when you have the same project file setup th
plMail là một email client mã nguồn mở miễn phí cho phép quản lý Gmail, Outlook và các tài khoản IMAP trong một hộp thư duy nhất tự host. Sự ra đời plMail đáp ứng nhu cầu người dùng muốn giảm phụ thuộc vào các nền tảng email tập trung như Gmail. Phía kỹ thuật, dự án dựa trên Next.js và Node.js, cung cấp trải nghiệm người dùng hiện đại với khả năng tùy chỉnh cao. Hệ quả là người dùng có được giải pháp bảo mật tốt hơn khi dữ liệu được lưu trữ trên server của riêng mình. Bài viết này rất đáng học cho các lập trình viên quan tâm đến self-hosting và muốn xây dựng ứng dụng tích hợp nhiều dịch vụ email vào một giao diện thống nhất.
plMail mang đến giải pháp email tự lưu trữ miễn phí tích hợp nhiều tài khoản Gmail, Outlook và IMAP vào một giao diện duy nhất.
Cloudflare Hyperdrive giúp kết nối ứng dụng Workers với database PostgreSQL hiệu quả. Công nghệ sử dụng connection pooling để giảm 95% thời gian kết nối và cache để tăng tốc truy vấn. Giải pháp này tích hợp với D1, R2, Queues, Supabase và Neon tạo hệ sinh thái thống nhất. Lập trình viên có thể giảm chi phí database và tăng tốc độ ứng dụng nhờ cache layer thông minh. Tutorial cung cấp hướng dẫn chi tiết để cấu hình pooling và caching tối ưu cho hệ thống của bạn.
Bài viết này giúp lập trình viên tối ưu hóa hiệu suất ứng dụng bằng cách tích hợp Cloudflare Hyperdrive với PostgreSQL và Workers.
Đang tải bình luận…