Photo Gallery Rails 4 Application