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.

Why You Shouldn't Use Rails' Scaffolded Controllers

6 pointsby r00kover 14 years ago

1 comment

rhizomeover 14 years ago
There is nothing in the post to indicate that the InheritedResources gem is any more state of the art than standard scaffold controllers (which very few if any users leave without modifications, contrary to the implication of the article). It does seem to be replacing some implementation details with magic in the pursuit of DRY, which is left unmentioned and invisible in the post, but I don't see what advantage this has over the common technique of using a before_filter that sets up commonly used variables and such.<p>The fact that the author uses dateless posts and comments (SEO) does not add to its credibility for me, but user-hostile design sticks out like a sore thumb for me so that could just be my own peccadillo.
评论 #1901684 未加载