Save images to flickr using flickraw gem

Login to your Flickr account. Then create an app in the Flickr App Garden by going to the following link: https://www.flickr.com/services/apps/create/ All the apps in the App Garden are created by Flickr members using the Flickr API. Here’s how: –

Eager Loading

There are 3 ways to do eager loading (preloading) in Rails: includes() preload() eager_load() – includes() delegates the job to preload() or eager_load() depending on the presence or absence of condition related to one of the preloaded table. – preload() is using separate DB queries

Mongo DB from Scratch

Import the public key used by the package management system. sudo apt-key adv –keyserver hkp://keyserver.ubuntu.com:80 –recv 7F0CEB10 Create a list file for MongoDB. Create the /etc/apt/sources.list.d/mongodb.list list file using the following command: echo ‘deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen’ | sudo tee /etc/apt/sources.list.d/mongodb.list Reload local