My Knowledge Wiki
Back to my website
Search
⌃
K
Links
Introduction
My Stack
Sharing
Work
Apps & Tools
DevOps
Awesome Products
Engineering Management
Software Architecture
Talks
Documentation
Machine Learning
Programming Languages
Constructs
Go
Ruby
Ruby on Rails
Setup
Gotchas
Helpers
Libraries
Routing
Status Code Symbols
Debugging
Libraries
Lazy Enumerators
Snippets
Version Control
Education
HTTP
Design
Arabic Content | محتوى عربي
Biology
Powered By
GitBook
Setup
I like to use Rails with postgres a lot, this is how to make a new Rails project with Postgres as the default database adapter:
rails new myapp --database=postgresql
In some cases I use Rails without ActiveRecord (e.g.
mongoid
for
MongoDB
, like so:
rails new myapp --skip-active-record
Previous
Ruby on Rails
Next
Gotchas
Last modified
3yr ago