O'Reilly logo

Rails, Angular, Postgres, and Bootstrap, 2nd Edition by David B. Copeland

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating the Rails Application

We really don’t need much more than the basic Rails application we’ll generate with rails new, but because we know we’re using Postgres, and later in the book we’ll be using Angular, there are a few options you should set now.

First, we want to tell Rails to use Postgres as our database (it uses SQLite by default). We also don’t want to use TurboLinks,[9] because it’s going to clash with the JavaScript you’ll be writing later on when you start to use Angular. We’re skipping Spring[10] as well, mostly because it isn’t 100% reliable, and it could cause your experience with these examples to not mimic the one in the book. Finally, we’re skipping Test::Unit as our testing framework, because we’re going to be using ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required