Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

`Drop workshops.sign_up_url`

已关闭 适合新手
#3,018 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

已经有一个关联 PR 被合并了。

  • #3027 来自 @mroderick —— 已合并

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
75/100
Issue 类型
重构
描述清晰度
描述清楚
活跃度
活跃
技术栈
rails, ruby
领域
database

调研方向

从 Workshop 模型开始,在 PR 1 中将 sign_up_url 列入 ignored_columns,并检查没有任何 workshop 的查询或 partial 仍在读取它。以已关闭的 #3007 作为两步移除的先例,然后在 PR 2 中查看 schema.rb 和 migrations 目录。完成标准是:PR 1 在忽略该列的情况下通过整个测试套件;PR 2 从 schema.rb 中删除该列,且完整测试套件保持通过。

由索引模型根据 Issue 内容生成。

描述

refactoring trivial

Problem

workshops.sign_up_url is a nullable string. Its only purpose was an external RSVP link shown in workshop partials; the last read was removed in c9391a35 (2014-09-09) when the workshop page moved to invitation-based RSVP. Nothing has read or written it since. Production snapshot (2026-10-12): 3 non-null values of 2603 rows, all set before 2014.

Proposed change

Two-step, as with #3007:

  1. PR 1: add sign_up_url to self.ignored_columns on Workshop, deploy, soak.
  2. PR 2: safety_assured { remove_column :workshops, :sign_up_url, :string }, plus regenerate schema.rb.

Acceptance

  • After PR 1: workshop queries no longer name the column; suite passes.
  • After PR 2: column gone from schema.rb; full suite passes.

Labels: refactoring, trivial

主要语言
Ruby
星标
106
派生
208
平均合并
19 小时 31 分钟
30 天内合并 PR
84

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

codebar/planner 的其他 Issue

查看 codebar/planner 的全部 Issue

相似的 Issue

更多 Ruby Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。