Where is scaffold in RubyMine
I'm trying RubyMine, and watching this tutorial https://www.jetbrains.com/ruby/documentation/ . The author uses there project->new->scaffold but i could not开发者_开发百科 find scaffold there. What's wrong?
Whenever searching for something in RubyMine, a highliy recommented thing is "Search"->"Find Action" (Cmd-Shift-A).
Just type "scaffold" in the search field and it shows the relevant IDE actions.
Click on File -> New -> Run Rails Generator...
type scaffold and press enter
in the next dialog you can enter the scaffold parameters
With RubyMine, I often find it easier to use the terminal for Rails commands like generating scaffolds and migrations and use the RubyMine interface for watching what's happening in the server console, raking the database or routes, etc. It's sort of the best of both worlds. Good luck.
精彩评论