Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6153833
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T20:09:29+00:00 2026-05-23T20:09:29+00:00

I read sometimes from people that seem to be working with rails since longer,

  • 0

I read sometimes from people that seem to be working with rails since longer, that one important lesson they learnt would be “Don’t use scaffolding”. Also on irc I read commonly hints from this direction.
My question is why, what is the bad thing about it? And is nifty_scaffolding bad as well?

My guess would be it is bad because it generates by default an xml version of your controller action, which would expose the field names of our application to anybody and make it more vulnerable for attacks, so maybe it’s this?

What are your reasons to not do scaffolding?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T20:09:31+00:00Added an answer on May 23, 2026 at 8:09 pm

    I’m experienced with rails and I rarely use scaffolding simply because my end goal is far from simple CRUD actions. However, there’s no strict rule to not use scaffolding. Some coders frown on it because it is actually scaffolding, literally. It’s not a finished product. Scaffolding supports you as you build the actual product. Search google images for “scaffolding” and you should get the idea.

    Keep in mind scaffold is just one of many built-in generators in Rails. A Rails generator is simply a script that outputs some generic code. Generators are very useful time-savers, and you’ll quickly find yourself writing generators for your own custom needs.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a program that needs to read/write files to/from a network computer. Sometimes
When I read django code sometimes, I see in some templates load url from
With the Device::Gsm I can read the sms received on my umts-modem. Sometimes one
I am using Perl to print some data read from one file to another.
I am using SqlDataReader to read data from SQL Server. However sometimes I want
I want to build a service that will pass the data read from the
Background We have worker processes that read jobs from a table in SqlServer then
I've read in The Pragmatic Programmer, and in some other articles (including one from
One often needs to read from memory one byte at a time, like in
I am having a problem with reading DateColumns from an excel sheet. Sometimes people

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.