In what directory / folder do you install Rails Scaffold -


i following rails tutorial. starting generate scaffold. don't know sure pit it. in subdirectory or right @ root. hunch root. i.e. jimjones$ not jimjones$/work/newapp. apps can keep[ changing imagine install scaffold @ root. appreciated. thanks, chris

your hunch wrong, should in /newapp directory, assuming that's name of app.

if you're not sure you're at, enter pwd @ command line, , print out current location. if ends in /newapp, you're good.

rails generate scaffold myscaffold creates set of mvc scaffolds called myscaffold(s), inside current app. in fact, shouldn't able run rails generate scaffold unless inside rails project.


Comments