It’s been a while since I reviewed the documentation for rails new
console command. There are a few useful features that I didn’t know about:
Most of the times, for database engine, PostgreSQL is my choice. This is easily accomplished with the -d
switch, but even more convenient is adding this as a preset to your environment, using the .railsrc dotfile. Configuring such on your system will allow you to just stick to rails new appname
without having to add switches.
The second useful thing I didn’t know exists is the Rails Application Templates which makes it faster to start new Rails applications with the same set of gems and configuration that you might be reusing across your apps.