惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 三生石上(FineUI控件)
O
OpenAI News
WordPress大学
WordPress大学
P
Proofpoint News Feed
J
Java Code Geeks
G
Google Developers Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
The Register - Security
The Register - Security
Engineering at Meta
Engineering at Meta
H
Help Net Security
人人都是产品经理
人人都是产品经理
Vercel News
Vercel News
N
Netflix TechBlog - Medium
F
Full Disclosure
U
Unit 42
Latest news
Latest news
N
News and Events Feed by Topic
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
I
InfoQ
L
LINUX DO - 最新话题
T
Threat Research - Cisco Blogs
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
爱范儿
爱范儿
K
Kaspersky official blog
Google Online Security Blog
Google Online Security Blog
小众软件
小众软件
I
Intezer
V
V2EX
S
SegmentFault 最新的问题
C
CERT Recently Published Vulnerability Notes
阮一峰的网络日志
阮一峰的网络日志
Security Archives - TechRepublic
Security Archives - TechRepublic
Recent Announcements
Recent Announcements
C
Check Point Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
Recorded Future
Recorded Future
博客园 - Franky
Project Zero
Project Zero
S
Securelist
Attack and Defense Labs
Attack and Defense Labs
Spread Privacy
Spread Privacy
The Hacker News
The Hacker News
T
The Blog of Author Tim Ferriss
Google DeepMind News
Google DeepMind News
aimingoo的专栏
aimingoo的专栏
博客园 - 叶小钗
NISL@THU
NISL@THU
云风的 BLOG
云风的 BLOG
S
Secure Thoughts
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed

Ruby China

Ruby China Gems 镜像服务停服公告 [Remote][美国 A 轮] Bidbus 招聘高级全栈工程师和 Agent 工程师 Ruby 全栈开发高级工程师 用 rails 做了个小网站,拯救老 Kindle。 [上海][2026 年 07 月 14 日] Ruby Tuesday: OpenCode 企业二开 & AI-DLC 由 ai 驱动的开发流程 OkkProxy——仅需 1 美元即可获得 1GB 住宅代理 +1 个静态 ISP(新用户专享) NiuProxy 动态住宅代理:每 GB0.70 美元起(1TB 最高 0.50 美元/GB,10TB 起 0.30 美元/GB) Show Ruby China: 我用 Rails 8 开发的开源技术社区网站 MZFOSS 写了一个 Ruby 框架来管理个人环境初始化脚本 怎么让 AI 写出更有 Rails 味的代码? 头部跨境团队扩招,期待优秀的你 香港办公 / 远程 | 区块链工程师(SUI 链 DEX · ve3,3) 香港办公 / 远程 | 智能合约工程师(SUI 链 DEX · ve3,3) 有没有招 Rails 开发的 A minimalist agent in ~500 lines of Ruby: ReAct loop + macOS Seatbelt sandbox + security approvals + MCP + Skills + persistent memory 日本久光製藥鎮痛消炎貼成分?40mg 強效配方舒緩痠痛揭秘 独立开发者必看:把软著申报材料的脏活交给自动化工具 咱们老家被机器人刷屏了?https://github.com/ruby-china/homeland/pulls 新书《Rails 8 现代单体架构实战》发布 [远程] Schedar - 资深区块链工程师 使用 1password environments 来管理环境变量 Ontology driven Agent:从“提示词工程(Prompt Engineering)”向“智能体软件工程(Agent Software Engineering)” Ruby on Rails / DiscoursePluginEngineerRemote rails 项目里用 kamal 部署阿里云 ssl 证书流程总结 打听一个人 https://github.com/matzbot 關於 spinel 的原理和侷限 用 Ruby 构建 AI Agent(更新第二篇:工具调用) 在 Reddit 上发了一个 Ruby Agent 开发的帖子有点火了 有没有用 rails+AI 做了审批流的功能模块或 gem,交流下经验 最新的不一定好——预防供应链攻击 [远程] Moonveil Entertainment — web3 游戏工作室招聘 AI+ 区块链 / 区块链全栈工程师 早说了转语言了身体却很诚实... Rails 开发工程师--电商网站 早期程序员囤比特币,核心目的从不是投机暴富,而是看清了婚姻的本质: AI 的经济账根本算不通 坐班宁波,提供食宿,招聘运营/BD、HR Ruby 4.0.4 修复了一个性能问题 招聘客服兼职 接受小白 电商销售 Harness 工程经验分享:实现 100% 缓存命中 OpenClacky(RubyAgent)的 7 个关键决策 寻找“乡村黑客”:向着广阔的乡土出发 matz 用 claude 把 mruby 的 issues 全关了 [成都 / 远程] Python 后端工程师 - 前硅谷大厂资深工程师带队,美资 FinTech 初创投资决策平台 (15k / 月) 11 英寸 MacBook 的第二春:从零开始配置 Ruby on Rails 开发环境 OpenClacky 1.0 正式发布 —— Ruby 圈第一个通用 Agent 来了 一夜重构!我用 18000 行代码打造了完全自研的 AI TUI 终端-IFAI Cli
讓 ActiveRecord model 只能在特定 service class 裏被更新
mizuhashi · 2026-05-22 · via Ruby China
class Post < ApplicationRecord
  include ActiveRecordReadOnly
end

# Anywhere else in the codebase — blocked
Post.find(1).update!(title: "x")
# => ActiveRecord::ReadOnlyRecord

# In a service class — allowed
class PostService
  include Post::Writable

  def self.publish(post)
    post.update!(published: true)   # works
  end
end

實驗後發現這是可行的,可以通過在 model 的readonly?方法裏檢查caller_locations來判斷能否處在一個已經include Post::Writable的環境,不過也有不少限制。

https://github.com/onyxblade/active_record_read_only

Just for fun