RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Don't trust everything Rails generates for you.

Rails’ scaffold generator can generate large swaths of functionality for your application. Just be careful it isn’t exposing more of your application than you intend.

Comments

Woah, hugely helpful

I strongly disagree. I don’t think scaffolds are supposed to be a panacea, or claim to be. In some situations, scaffolds are good, and in some they are simply not!

You shouldn’t use a hammer on a screw… so this is no different. Don’t blame scaffolds, blame people who generalize them to be more than they are… sorta like this article.

I like Brian’s RubyFlow title way more than the article’s title.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in