TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN Rubyists: What's one gem that you wish existed, but doesn't?

2 点作者 OmleteDuFromage将近 12 年前

3 条评论

swanson将近 12 年前
I posted this in another thread - it is nothing groundbreaking but would be a good small project for someone to tackle:<p>Simple Ruby gem I was surprised didn&#x27;t exist (that I could find): `validates_twitter_username`<p>Given user input for username, ensure it is valid. Two levels of verification - one would be probably regex based that the username matches twitter restrictions (valid characters, length less than 15), one that pings twitter to confirm the account is registered. Appropriate ActiveRecord errors etc
评论 #6166047 未加载
swanson将近 12 年前
Some kind of admin&#x2F;logging console for cron jobs (specifically integration with the `whenever` gem). I have a few jobs that run daily&#x2F;nightly&#x2F;weekly and I would love to be able to get simple information like: when was the last time this ran, when is the next scheduled time, were there any errors, what was the output.<p>Cronjob logging and monitoring seems to be pretty tricky and involves a lot of finicky Unix magic, so a nice wrapper would be appreciated.
tectonic将近 12 年前
I have some ideas. Contact me in my profile if you want.