Archive for the Rails Category

Use Active Record to Create a Row on a Table that Has Foreign Keys
Posted on August 14, 2015 in Rails by Matt Jennings


Assume that the following tables in the same Active Record database:
users – -> blogs (one user can have many blogs)
Read more…

Rails Console Commands Using Mac Terminal
Posted on August 12, 2015 in Rails by Matt Jennings

Inside a Directory in Mac Terminal, Create a Rails Project named sample_app

rails new sample_app

OR without adding a unit test:
rails new
Read more…

To Top ↑