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

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -