Setting up photo gallery project

We are going to use a new project. Create a new project with the following commands

$ rvm use 1.9.3
$ rails _3.2.8_ new photo_gallery
$ cd photo_gallery
$ bundle install

Note: when creating new project, use -d mysql to use mysql as default database engine.

What’s next? We’re going to take a look at “Building the photo model”.

overlaied image when clicked on thumbnail

Makzan | Ruby on rails 101 | Table of Content