craigadams/mongo-store — pull request #1 by craigadams (2014-04-29 02:40:27+00:00)
Title: MongoDB

Observations: Following along with the RailsCast, it became obvious that I need to update the products_controller.rb because the new field “released_on” needed to be added to the permitted attributes for the product_params.

Adding the attr_accessible line from the RailsCast isn't needed because we are using strong parameters in the products controller.

Question: Are there some good rules of thumb to use when deciding upon where to use postgres or mongo?

Collaborators: None