Scaffold method versus script/generate scaffold

For the following:

"If you have a controller named ‘Entry’, and model named ‘Post’, it can
be used as follows:

class EntryController < ApplicationController
scaffold :post

Are they saying to create railsProject/app/controllers/entry_controller?
And, wouldn’t it be railsProject/app/controllers/entries_controller?



This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs