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.

Show HN: The missing Rails pattern generator

1 pointsby stockkidalmost 10 years ago

1 comment

stockkidalmost 10 years ago
When working on Rails applications, I found myself creating files and tests manually by navigating the directory tree, and typing in names.<p>I didn&#x27;t like it because:<p>1) Typos can happen 2) Navigating the directories is pain 3) lazy<p>Here is my solution. With this gem you can run `rails generate [PATTERN_TYPE] ...` to generate files and its tests in appropriate directories.<p>Currently you can generate service, policy, and PORO.