Create a Rails project with a postgresql database

If you already have Rails setup the defaults are to create a connection for a  SQLite database. To switch this to a PostgeSQL database. First install a PostgreSQL database on your machine for dev and test. For apple computers, I suggest the You also need the PG gem which connects PostgeSQL to Rails. To verify […]

Common Rake Commands

create databases

run a Migration

rollback a migration

seed the database

drop the databases


Managing your Gem’s

To update your system gem’s run

To freeze all gem’s in a project


Create a new Rails project with a specific version

To create a new project in rails with a specific version. First make sure you have the rails version gem installed, then create your project.