Blog

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

rails new sample_app

OR without adding a unit test:
rails new sample_app –skip-test-unit
OR
rails new sample_app -T

rails console
OR
rails c

rails server
OR
rails s

After running a …

Read more

To Top ↑