TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

2 pointsby OmleteDuFromagealmost 12 years ago

3 comments

swansonalmost 12 years ago
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 未加载
swansonalmost 12 years ago
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.
tectonicalmost 12 years ago
I have some ideas. Contact me in my profile if you want.