A guide to maintain a consistent standard of how we set up and maintain rails projects - aim to keep up with best practises and project familiarity between team members.
Before setting up - always check we are using the latest version of ruby and rails. (rvm list known
)
- create project with postgresql (
rails new myapp --database=postgresql
) - unless a project demands something specifically for speed/handling huge amount of records like mongodb (if app is api-only, runrails new my_api --api
)